Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

trigger

I need to send data via RS 232 to an amplifier. This action should be triggered by another device. This device sends out the values 1 and 0. 1 means: send data out and switch all values to 0 after a certain period of time and 0 means: send no data. My .vi is running the whole time, sending out values to the amp, switching it on and off.... How can this easily be done? Does anybody have some example-codes?
0 Kudos
Message 1 of 3
(3,260 Views)
I am not sure if I understand correctly. What is your setup looking like? You have an amp connected to the RS232 port of your PC, where do you get the trigger signal from? Is your other device connected by serial interface as well or do you have a digital board to acuire the trigger?
What do you mean with "...send data out and switch all values to 0 after a certain period of time"

Please supply some more information on what you are trying to do, then I might be able to give you some hints how to program the VI.

Ingo Schumacher
National Instruments
0 Kudos
Message 2 of 3
(3,260 Views)
I have a power supply connected to my PC via RS232. To this power supply I am able to send out a value (by labVIEW -- is already working). And I have another device connected by serial interface as well to my PC! There HF-pulses are generated and always if there is a puls generated (e.g. every ten seconds), I want to send out a value to the power supply (to set a certain current). After a certain period of time (e.g. two seconds) I want to reregulate the power supply, in order to set a new current until the next puls (trigger) is coming. So my power supply should switch between different values, controlled by LabVIEW and this external trigger. Thank you!
0 Kudos
Message 3 of 3
(3,260 Views)