NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
JP_V
Posts: 41
0 Kudos

Wait instrcution timeout

Hello,

 

I'm using PXI6552 with scripting. I use the wait instrcution with scripttrigger (Digital edge).

I would like to know if there is a possibility to configure a timeout for the Wait instruction because in the case the trigger never happen, I don't want to block my script 

 

Thank you

 

JPV

Active Participant
Audrey_P
Posts: 224
0 Kudos

Re : Wait instrcution timeout

Hi JPV,

 

Thank for using National Instruments discussion forums.

If you have questions about scripting,please refer to the API Community: LabVIEW Scripting Main Board. I think you will get the best help there.

 

Best regards,

Audrey_P
National Instruments France


Journées techniques : des fondamentaux aux dernières technologies pour la mesure et le contrôle/comm...


Member
JP_V
Posts: 41
0 Kudos

Re : Wait instrcution timeout

Hello,

 

My question is not about LabVIEW scripting but about HSDIO scripting, so I'm not sure The API Community: LabVIEW Scripting Main Board is the right place to post my question.

could you confirm?

 

Thank you

 

JPV

Active Participant
Kyle_A.
Posts: 369
0 Kudos

Re : Wait instruction timeout

Hi JPV,

 

You can configure the niHSDIO Wait Until Done VI or C function to give your script a programmatic timeout parameter, which will cause your program to error and exit gracefully in the event that a hardware script trigger is not detected within the timeout period specified by your code.  I hope this helps!

Kyle A.
National Instruments
High Speed Digital I/O Product Support Engineer - R&D
Member
JP_V
Posts: 41
0 Kudos

Re : Wait instruction timeout

 

This is what I currently plan to do and I wanted to be sure it was the good method

 

Thank you.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page