Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

controlling the data flow and the timining between the sequences

Dear All,

 

I have a setup that involves a power supply (HP 6632B), a thermistor that I can read the resistance through a HP 3478, a Newport 2835 (dual channel, bot channel readings taken). I wrote a vi, attached to this message. 

 

Basically, I want to input a variable current through the HP6632B, at each current wait for a controllable and variable time delay and then take the measurements and start again at another current and so on.

 

Currently, my vi stops after the first current iteration. This is because of the time connected to the case structure. But, I do not know how to do it and control the time (that will vary for current to current) and the number of data points collected through the Newport and HP3478. And to make the loop working for variable current inputs.

 

Thank you for your help!

 

0 Kudos
Message 1 of 4
(2,432 Views)

Dear All,

 

I have created a vi (see attached), where I have a device where I constant change the current and then I read some data after a time that I want to control. 

In my current configuration, after 1 value of the current, the system records one set of measurements and then it stops due to the settings of my shift register.

 

What I need is that it goes and takes the second value of the current and continue the measurements until it finishes all the currents.

 

I do not know how to wire this. 

 

Thank you for your help!

 

0 Kudos
Message 2 of 4
(2,469 Views)

I think you're in the wrong forum. You might want to try over here: https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/bd-p/140

 

Your sequence structure is doing nothing

 

There's an easier way to "wait" before your measurement.

 

https://zone.ni.com/reference/en-XX/help/371361R-01/glang/wait_ms/

or

http://zone.ni.com/reference/en-XX/help/371361R-01/glang/stall_data_flow/


Lastly it's not clear exactly what you want. Maybe draw a diagram with all your instruments and when you want to send or receive from each.

0 Kudos
Message 3 of 4
(2,446 Views)

Thank you very much, I posted in the forum suggested. 

0 Kudos
Message 4 of 4
(2,416 Views)