Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Looks like NI has some ENTERPRISE PROGRAMMERS

Name: Anonymous 2008-05-06 14:40

To configure a start trigger on a rising digital signal coming in on PFI line 0 of the device, use the DAQmxCfgDigEdgeStartTrig function in C:
 DAQmxCfgDigEdgeStartTrig (taskHandle, "PFI0", DAQmx_Val_Rising);

Name: Anonymous 2008-05-06 14:42

To create a task and an analog input channel in .NET, instantiate the Task object and create a Channel as shown below:

analogInTask = new Task();
AIChannel myChannel;
myChannel = analogInTask.AIChannels.CreateVoltageChannel(

    "dev1/ai0", //The physical name of the channel

    "myChannel", //The name to associate with this channel

    AITerminalConfiguration.Differential, //Differential wiring

    -10, //10v minimum

    10, //10v maximum

    AIVoltageUnits.Volts //Use volts
);

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List