LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA speed

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 

0 Kudos
Message 1 of 3
(2,917 Views)

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/16/simple-state-machine-template-documentat...

 

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...

Message Edité par tinnitus le 04-21-2009 06:46 PM
CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 2 of 3
(2,908 Views)

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.

Sincerely,
Jason Daming
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 3 of 3
(2,869 Views)