VirtualBench

cancel
Showing results for 
Search instead for 
Did you mean: 

virtualbench oscilloscope programming with labVIEW

Hello!

 

I'm making a vi to control VirtualBench FGEN and MSO.

 

When I run the vi using the highlight appears a green arrow on the icon representing the MSO_read function, and the application stops without completing commands.

I tried to run an example application downloaded from the official NI site, but this problem remains.

 

Sorry, but I cannot find anything in the help.

 

Ed

0 Kudos
Message 1 of 7
(7,600 Views)
There is a dedicated board for VirtualBench - http://forums.ni.com/t5/VirtualBench/bd-p/340

You'll have better luck posting there instead of instrument control. You can click on Options and request the moderator to move your question there.
Message 2 of 7
(7,594 Views)

The MSO Read VI will block until the acquisition completes.

 

Check that you are configuring your trigger condition in such a way that the condition can be met. Alternatively, you can set the 'Auto Trigger' input on the MSO Run VI to 'true'; this will cause the MSO to trigger automatically if the trigger condition is not met within the timeout period.

——
Brandon Streiff
ni.com/compactdaq · ni.com/daq
0 Kudos
Message 3 of 7
(7,575 Views)

Thank you very much, Brandon!

 

I'll try by changing trigger settings.

 

Ed

0 Kudos
Message 4 of 7
(7,528 Views)

Brandon,

I hate to drag up an old thread, but my situation fits this thread perfectly. 

Is there a way to adjust the timeout period? IF so, how?

 

Thanks,
Joe

0 Kudos
Message 5 of 7
(4,551 Views)

@jperch wrote:

 

Is there a way to adjust the timeout period? IF so, how?


Hi Joe :0)

 

You can indirectly. The MSU Run VI documentation shows the formula VirtualBenches uses to set the auto-trigger timeout:

 

The timeout period is the trigger delay plus the greater of pretrigger time * 2, or 0.5 seconds.

 

MSO Run

http://zone.ni.com/reference/en-XX/help/374540C-01/lciviref/mso_run/

Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
0 Kudos
Message 6 of 7
(4,545 Views)

JoeFriedchicken,

 

Thank you for pointing that out. I guess I just missed that. 

 

Joe

0 Kudos
Message 7 of 7
(4,543 Views)