LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform chart gaps

When i'm thinking on it... I control a laser with those square waves. I make a waveform with a graph and do an interpolation to make a generation file with a sample frequency of 1024 Hz. So sometimes there is 0 time between a jump from 2 volts to -1 volt for example. But then again the chart should interpolate also. But maybe not...? Thanks for all the thinking! Happy easter everyone.
0 Kudos
Message 11 of 25
(974 Views)

Have you tried zooming in on the broken parts of the graph to see if it is really a discontinuity?  Does the graphed data reflect the discontinuity?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 12 of 25
(952 Views)
It's a chart, not a graph...
0 Kudos
Message 13 of 25
(944 Views)

@ThijsBoeree wrote:
It's a chart, not a graph...

Okay, I stand corrected.  But can you do those things?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 14 of 25
(938 Views)
Well the strange thing is, when i stop the program the gaps are filled with a straight line... I have to try the zooming at work.
0 Kudos
Message 15 of 25
(932 Views)

Sounds more like a rendering issue than a data issue.  Maybe something simple like resizing the chart in the horizontal direction will help?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 16 of 25
(927 Views)

Hello Thijs,

 

Is it possible to create some test code that should allow me to reproduce this behavior locally?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 17 of 25
(913 Views)

I am trying to give some test code, but my program is rather big, 319 VI's in total now... So thats alot of work. The acquisition is in a seperate loop, with a message handler queue mechanism like the example given in LabVIEW. But i already made this some time ago with another application and then there weren't gaps...?

 

Best regards,

Thijs

0 Kudos
Message 18 of 25
(907 Views)

Hello Thijs,

 

I fully understand that you are not able to share the full code.

However, are you able this behavior with a limited subset of your code?

 

If I can reproduce it, then I can focus better on finding a way to resolve it.

 

 

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 19 of 25
(898 Views)

Here is the whole program; https://www.dropbox.com/sh/chlhwh0ox6tmmsc/Vro5S_z9P6

 

1. change the acquisition and generation hardware in the ini file.

 

2. make 2 folders on your c drive:

C:/eyemovements/subjects

C:/eyemovementsbackup/subjects

 

3. i also use the open G library...

 

Run the 'Main' vi from the project, create a subject, make a new measurement and then you see what i mean...

Good luck!

Regards,

Thijs

 

PS. this is still very beta...

0 Kudos
Message 20 of 25
(891 Views)