09-28-2009 12:37 PM
Is the SCXI-1600 so new that there is virtually no CVI programming information available? No app note, no programming manual?
I have read the User's Manual, dug a little, to learn how to creat a task using "Create/edit DAQmx Task". I understand how to start and stop a task. But then what? There is nothing but he examples to show how to read the data. I need to do continuous scans, which I presume uses the SCSI-1600 FIFO. The example says "read from buffer" rather than "read from FIFO". Hopefully this is the same thing. So according to the example, I need to register a callback, determine how many samples area placed into the FIFO before I want the callback called. OK, I can experiment with that.
Now we get to the SCXI-1160 Relay Module. There is no information anywhere I can find on how to program for this module. Do I create a separate task or include the 1160 channel definitions in the Analog Input task? How do I set the individual relay states?
This is frustrating. Is there an NI person who can direct me to some good documentation?
09-29-2009 11:03 AM
Hi Hendra,
Both the SCXI-1600 and SCXI-1160 are controlled by the DAQmx driver so most of the documentation should fall under that heading. By default the switch examples can be found here:
C:\Documents and Settings\All Users\Documents\National Instruments\CVI\samples\DAQmx\Switches
The best documentation of the functions will be in the CVI help under DAQmx:
Hope that helps, let us know if you have any further questions.
Thanks
Scott M.
09-29-2009 11:11 AM
Scott,
Thank you for the information. I found those examples yesterday. My frustration stemmed from having to go to different places to gather the needed information. Wouldn't an app note for CVI programming for SCXI be useful?
Found an example on how to set up and read a strain-gauge channel, needed to experiment to work out how to set up multiple channels and read them.
It actually did not take that long.
Thanks again...
06-21-2010 04:23 PM
Hi,
I agree with the previous poster, I'm trying to find a simple relay switching example using Labview and am having difficulty. From what I can learn from classic DAQ, there is a hexadecimal integer that represents the state of all relays in the 1160. I'm trying to understand if it is easy to write a vi that will switch individual relays on and off, but its not obvious.
06-22-2010 12:16 AM
Hi xband,
if you are searching for a simple LabView example, then you have arrived at the wrong forum; this one is dedicated to CVI... You might want to check here
06-22-2010 11:21 AM
Thanks,
this is the only hit I got from a Google search, and it did help a bit. Dug through the libraries and found some examples.
Given that, there is the ability in Labview to call C-like libraries and I have had some success in the past with other applications, would you know of a good reference for these actions?
Thanks again. Sorry to post in the wrong forum but there is some crossover.