06-06-2014 02:40 PM
Hi All,
Here's what I'm trying to do:
I have a DMX/USB converter cable that I want to read a DMX signal into Labview with. I need to parse out only one channel of the 512 (that needs to be specified by the user) to command a solenoid valve with, that will fire a flame jet. I am new-ish to LabVIEW and have never worked with DMX signals before. What would be the best way to go about doing this? I was thinking of counting the microsecond breaks in the signal to parse out the different channels, and then reading the values from there (fire should be a value of 255). Am I working along the right lines here or is there an easier way? Also, what is the maximum frequency that I can read in a signal at, i.e. will I even be able to distinguish microsecond breaks in the signal?
Sorry for all the questions, but I'm really at a loss on where to start with this one. Thanks in advance!
06-06-2014 02:55 PM
Okay you won't be able to do this like this.
What hardware are you using? You can't ask Windows to poll a USB port looking for high and low, that's what drivers and kernel are for. Even if you could Windows is a software timed environment, non real-time. Ever have your mouse just stop working for a few seconds? What do you think your program will do? Will it keep up the microsecond reading? You need other hardware to do the heavy lifting for you. Now if this DMX/USB converter does the heavy lifting and the manufacurer provides drivers then no problem. But if they don't you will not be able to poll it.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-06-2014 07:44 PM
Hi Hooovahh,
The hardware I'm using is the ultraDMX Micro from dmxking. The description of the device says that it has an "onboard Amtel microcontroller to ensure complete timing accuracy and no flickering effects no matter what your computer is doing. Device communication using FTDI virtual COM port (VCP) or direct (D2XX) drivers allows use of any mainstream OS." Is this what you were refering to?
Thanks!
06-06-2014 07:47 PM
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord