Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

stop dupgg

i am used in my project measurement studio and i have two timer one to draw graph and another to make calculate to give the graph timer it's data

(one timer dependent onthe other ) and whn i put build it gives me no error and it success but in the debug it stop automaticly

i dont know why ?

plz tell me

0 Kudos
Message 1 of 6
(3,341 Views)

when i,

 

So you have two timers in your project, and your project builds, but it does not run properly?  What language are you writing in? (C#, C++, VB)  Can you post some code of how you are doing this?

Eric B.
National Instruments
0 Kudos
Message 2 of 6
(3,321 Views)

i thax about your reply i used vb.net and measurement studio virsion 8.1

and i will tell u simple example take any example from anyproject and in the main timer writ simple code like out ($834,2)

and make debug

u will it run and the stop automaticly

and neally i will send u the code

0 Kudos
Message 3 of 6
(3,311 Views)

when i,

 

I tried implementing what you suggested, but I think I am not understanding completely.  Can you post some code that reproduces this error?

Eric B.
National Instruments
0 Kudos
Message 4 of 6
(3,276 Views)

Private Sub timer_plot_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles timer_plot.Tick

 dim s as double

s= out (&h34)

pressure_wave.PlotYAppend(s)

   End Sub

 

 

 

"s" is a double came from parallel port

and i need make update to data after each time

0 Kudos
Message 5 of 6
(3,268 Views)
I am not even able to build that code.  What is the out function you are referring to?  My compiler does not know where that is coming from.  Is this a driver function you are using?  What does the "&h34" parameter you are passing to it mean?
Eric B.
National Instruments
0 Kudos
Message 6 of 6
(3,246 Views)