LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving and Recalling a LIST on an Agilent N3300A DC Load Bank

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.

1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
0 Kudos
Message 1 of 4
(2,884 Views)

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! 

 

Message Edited by ColeTrain on 01-07-2010 03:13 PM
ColeR
Field Engineer
0 Kudos
Message 2 of 4
(2,863 Views)

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.

1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
0 Kudos
Message 3 of 4
(2,860 Views)
If I remember correctly, the termination characters when you are writing to the RS-232-GPIB converter are for the RS-232 side to know when to assert the EOI on the GPIB side. A GPIB compliant instrument does not require either a CR or LF.
0 Kudos
Message 4 of 4
(2,847 Views)