LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i print out the waveform chart?

Hi hakan,
you have to insert the start button into the first while loop, if not, then the value of it will be read only ones. If you want to print out the data after you read it, i recommend to connect the boolean wire to the event structure, to make sure that it runs after the aquisition loop.
 
Mike
0 Kudos
Message 31 of 47
(1,411 Views)

            hi mike and  everybody,

    i didn't solve my problem. my program is running without "run" button. but just one time. when i push the STOP and YAZDIR buttons the program can't start without run button...  i can't understand why???  Smiley Indifferent 
 
   The other problem when i was the program "build executable"  i can't see the "abort button".  i looked the "VI Properties" - "Window Apperiance".     i'm sending my program and pics.  i hope one guy can help me...
 
    thanks for everything

hakan....
 
Download All
0 Kudos
Message 32 of 47
(1,373 Views)
Hi hakan,
what do you expect, how shall your program run? If you build an executable, then it´s normal that it start after starting the exe file. If you stop your file, then you have to start it again and because of you don´t close the vi, you can press the run button.
 
Mike
0 Kudos
Message 33 of 47
(1,365 Views)
             hi mike,

        thanks for information.

   u're right. when i push the start button the program is running. but if i push the stop button, i can't start the program without push the YAZDIR button. even if i push the YAZDIR button i can't start the program without run button. i hope i could explained...   

hakan...
 
 

0 Kudos
Message 34 of 47
(1,361 Views)

Hi hakan,

yes it´s true, because the loop can first exit if all code inside the loop was executed, i thought i said it already. Smiley Wink. You should think about Producer/Consumer structure and you should create an event case for all your buttons.

Mike

0 Kudos
Message 35 of 47
(1,353 Views)

Hi hakan,

the attached example shows what i mean.

Mike

0 Kudos
Message 36 of 47
(1,349 Views)
hi mike
thanks for your information and example,
i'm investigating to your example

    i replaced " Stop button and YAZDIR button" to push button. Stop button is working like push button so that it's true. but Start button doesn't work like push button. all off the push button but they are working different. do u know why??


hakan....
0 Kudos
Message 37 of 47
(1,338 Views)
Hi hakan,
change the "switch action" of the start button to "latch when released".
Mike
0 Kudos
Message 38 of 47
(1,335 Views)
   hi mike,

thanks for your information.
really, i appreciate u...  

 but i have one question again 😞
 can i change the physical channel "max. Input Level, min. Input Level, acquisition mode and Terminal Configuration"?
now,
max. Input Level = 20 mV but i want 10 mV
min. Input Level = 20  mV but i want 10 mV
acquisition mode = one sample (on demand ) but i want "Continuous Samples"
  can i change them??

thanks for everything
hakan...
0 Kudos
Message 39 of 47
(1,309 Views)

Hi hakan,

you can change everything. Did you see the example in the example finder?

Mike

0 Kudos
Message 40 of 47
(1,307 Views)