01-06-2010 01:38 PM
I need to generate a LIST (on a PC) that changes resistance values of the different channels (3 channels total) simutaneously
or one right after the other.
Then I need to use LV to send the LIST to the N3300A and *SAV the LIST.
Then ofcourse recall the LIST and get it to run.
Anyone know how to do this?
I looked at the NI N3300A driver set but I am a little confused by the %,%g used in the create LIST vi. Plus it looks like it
only sets up one command.
I am trying to get the LIST functionality working as the units we have do not alway respond as expected when the
commands are sent through LV, via the CRIO 9012 com port to a ni RS232-GPIB converter. For example when I query
the units ID, sometimes it responds and other times nothing. Hmmmm not sure why that is. The serial com functions
were based on the CRIO RS232 - GPIB Converter example. CRIO Com settings are 9600, 8,n,1, same as the settings for
ni RS232-GPIB converter (was setup via GPIB Wizard).
Thanks
Tim C.
01-07-2010 03:12 PM - edited 01-07-2010 03:13 PM
Hey Tim,
When I tried out the Configure List VI (I think the one that you were referring to), I noticed that all of the inputs accepted array functions which would allow you to configure more than just one function at a time. (actually on second look, the configure resistance list is what you were probably talking about, but same comment applies) Once you configure the list, you just initiate the list. Is this what you are doing?
The %.; is a period decimal separator (meaning that "one and one tenth" shows up as "1.1" not "1,1" as is the standard in other parts of the world) and the %g tells the string to be formatted as either an exponent or floating point number based on if there's an exponent.
If you're getting weird behavior with all of these components in the system, take out a few pieces of the puzzle and work it back up from there. Do you see the same behavior when connected directly to your device with a PC? Have you sent commands back to your PC from the cRIO to make sure that it is sending out proper commands (probably more feesible if you don't have a GPIB card in your computer). Hope this helps!
01-07-2010 03:25 PM
Do you know if the CRIO RS232-GPIB example is correct? I noticed the read control VI uses a Carrige Return not a End of
Line constant. I thought 488.2 requires a End of Line not a Carrige Return.
Thanks
Tim C.
01-07-2010 04:28 PM