LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timing Source problem in EXE

When I run a Timed Loop that is controlled by a hardware Timing Source, in design mode, it runs fine.
 
But the same VI, when converted to an EXE does not run and complains that the Timing Source is not there.
 
I can't see what could be wrong - its happening with LV7.1 / LV8.0 and both on  a WIN_XP.
 
The attached Snap Shot of the error message  says it all. ( I converted a standard example int EXE and ran it )
 
I need to use the configuration but seem to be stuck. Any help most welcome ( except  to ask me upgrade me to LV8.5 and beyond !)
 
Raghunathan
Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 1 of 7
(3,134 Views)
Hi Raghunathan,

This was reported to R&D as a CAR and was fixed in LabVIEW 8.2.

Thanks!

Warm regards,
Karunya R
National Instruments
Applications Engineer
0 Kudos
Message 2 of 7
(3,090 Views)

Hi Karunya,

>>This was reported to R&D as a CAR and was fixed in LabVIEW 8.2.
The  CAR that I know of moves on the road ...

If its been fixed in 8.2 what happens to the unfortuante owners of earlier versions ?  I am sure there must be a patch or workaround for this.

Alternately could you point a method to reliably acquire 200 samples / sec at 10kHz rate and feed the values inside of a Timed Loop ?

Thanks

Raghunathan

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 3 of 7
(3,081 Views)
Ragunathan,

A CAR is a Corrective Action Request. This was a bug only in 8.0 and not in 7.1. Building the executable from the vi should work fine in 7.1.
Warm regards,
Karunya R
National Instruments
Applications Engineer
0 Kudos
Message 4 of 7
(3,045 Views)

Hi Karunya,

Yes I agree and I did try out the LV example ( Cont. Acq.Volt&Graph _Int.Clk.vi ) in 7.1 by converting it into an exe. It ran fine without issues on a PCMCIA-6024 card.

But when I tried to create a sub vi on similiar lines ( AI_InputConfig.png) and control a timed loop I get an error (LV71_ErrorSnap.png). Can you think of something as to why this is happening ?

Thanks



Message Edited by Raghunathan on 04-05-2008 08:34 PM
Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
Download All
0 Kudos
Message 5 of 7
(3,026 Views)

Hi Raghunathan,

I understand that you can build an executable of the LV 7.1 examples but you are having problems when trying to build a subvi of AI_InputConfig.png in LV 7.1. Can you give more information on where exactly are you getting this error? Are you getting the error when running only the code shown in AI_InputConfig.png? Does it run in an exe but not in a subvi? What are you choosing for the source of your sample clock vi? Please give us more information on your application and if you can be more specific on how you are controlling the timed loop could be helpful too. If I misunderstood your original problem, please post back.

Ana P
National Instruments
Applications Engineer
0 Kudos
Message 6 of 7
(2,962 Views)

Hi Ana,

The ClockSource : On Board Clock ; SourceOfEvents : Dev1/ai/Sample Clock ;

The "TimingSrc.Out of AI_InputConfig.vi is fed directly to the TimingSource terminal of the Timed Loop.

I get the Error as posted when I run the complete VI with the Timed Loop and the AI_InputConfig.vi is called as a sub.vi.  And nothing much happens inside the TimedLoop - I just read the acquired samples, compute the mean of the samples and send the resulting value to a plot. Thats it. Thus the Timed Loop is expected to fire once the required samples are collected. For my use I normally select 2.5kHz rate and 125 samples / chan so that the Timed Loop fires once every  (1000/2500) x 125 = 50ms.

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 7 of 7
(2,953 Views)