04-21-2009 05:26 PM
Hello,
I am trying to control a GPIB using an VISA VI however there seems to be a time delay (tenth of a second) between the control value from my program and the corresponding change in the value on the
controller. Is this delay intrinsic to the communication system (hardware or software) , if no how can I decrease it. I have attached the code for reference. I want the values to scan through in a milli-second instead of a second.
The controller is a laser diode controller (model LDC-3714B)
Thanks
Ams
04-21-2009
06:39 PM
- last edited on
10-01-2025
02:16 PM
by
Content Cleaner
hello Ams,
i don't think visa is the cause, stop working with this programming "concept" or you 'll spend exponential time en nrj for nothing...
Have a look on state machine file -> vi (new...) and look for state machines template and also events structure
https://www.ni.com/en/support/documentation/supplemental/06/event-driven-programming-in-labview.html
have fun
Best regards
Tinnitus
NB : i think NI sould hide stack sequence in the deepest possible palette it will avoid beginners starting with the worst existing structure...
04-22-2009
12:06 PM
- last edited on
10-01-2025
02:17 PM
by
Content Cleaner
Ams,
If you are looking for a performance increase the first place I would start would be to get the Write to File operations out of you main loop and implement something like a producer consumer design pattern. A helpful document here.