LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating double impulse signal

Hello everybody,
 i'm about to generate a function which acts as a double pusle signal in which changing the time  of each interval is possible
  i can see the signal and the changes of the time interval on the wavediagram of the frontpanel
but the problem that i don't get the expected signal at the digital output line17 from the DAQmx
actually there is no output at all from line17  however there is no error message in the code when i run the simulation
i chose another output as an alternative but  still there is no output signal too  however i checked these outputs with another code
 to test them if they work or not and the answer was positive also with the testpanel  they  react with the changes which means
 that configurations of the DAQmx is right
in my code i changed the rate many times to be able to see signal on the oscilliscope not only in µs but also in different dimentions of time
  but still there is no output
all of this mean only i have something in the code which i don't know is the reason of  not getting the output signal
i send my code as an attachement may be you can  try it  and  tell me  where is  the reason  for not getting this siganl as an output signal ?????????????

i have labview version 7.1
my device is NI-PXI 6259, it has 32 bit port
 
thank you very much
Satrinay
0 Kudos
Message 1 of 4
(2,929 Views)

could you add the vi: "Get Terminal Name with Device Prefix"

I don't have that one, and I'm curious what happens inside.

You also talk about simulation, does that mean no real IO?

 

greetings from the Netherlands
0 Kudos
Message 2 of 4
(2,910 Views)
Hello, I build a vi which creates a twinpuls. If you look into the SubVI Twinpulse_train_generate.vi you see how to generate such a twinpuls signal. The structure of the puls is: low ticks 1 --> high ticks 1 --> low ticks 2 --> high ticks 2. The Puls width is: (1/rate)*(high ticks 1) In the Zip file are: 1. Twinpulse_train.vi 2. _Utility.llb (Get Terminal Name with Device Präfix and DWDT Boolean Array to Digital) 3. Twinpulse_train_generate.vi To start it use the Twinpulse_train.vi (build with LabVIEW 7.1) regards Fabian Kinzelmann (NI Germany)
0 Kudos
Message 3 of 4
(2,897 Views)
hi here is the VI. ( Get terminal name with device prefix) sorry for the delaying i wasn't there from along time

the code works now with me . it was only hardware problem in the digital output

best regards
Message 4 of 4
(2,874 Views)