01-17-2018 03:56 PM
hi guys,
I am currently working on drivers for measurement board (glorified multichannel osciloscope)
I need the board plugged in order to run the driver, and they need to communicate in real time (at least as real as windows can provide)
I still need to fix few things, and lightbulb would probably help, but I cannot use it due to the driver losing synchronization with board and everything crushing.
Is there a way to set labview to record the execution of the program to see it in "slow motion"/"lightbulb mode" afterwards?
I apologize if the question is to easy, I could not find any viable answers on the internet.
01-17-2018 04:50 PM
Hello, the LABVIEW board is the right one where to post this question, but you should also add some detail more on your situation like for example how the external instrument interfaces with the pc, which type is the instrument and other elements that may help others to help you.
01-18-2018 12:19 AM
I am communicating over usb using usbstyx protocol, but into shouldn’t matter. The solution has strictly to do with labview features.
if You can think about any other way of peaking into program execution without slowing it down (other than probes, they are too fast to read) I’ll gladly try it out.
01-18-2018 01:33 AM
Unfortunately this goes beyond my knowledge in LabVIEW. I notified the moderators to move this discussion to the LV board where you will hopefully find some specific help
01-18-2018 01:43 AM
Thank you!
01-18-2018 07:53 AM
Hi,
You could try putting probes on the wires. For that you right click the wires that you want to see the values and select probe. This will open the Probe Watch Window, in this window you'll be able to see in real time the values of the wires you've probed while running.
Hope this helps.
01-18-2018 08:26 AM
In situtations like that, I put logging VIs at strategic points in the code. See attachment.
01-18-2018 08:44 AM
A little known feature of LabVIEW is;
Operate >>> Data Logging >>> log
It will let you log all of the VI changes as it runs and let you play it back.
Ben