06-25-2015 04:16 PM
Hi, Im new to programing and Labview and am workinig on integrating a control with my VI, currently I can write to the other program but can not hear back, the software direction that I have revieved from the manufacuter of my instrument say that when dne the program will post a message in the clients message quese with the wParam as a flag. however I do not know how to access the queue or to read it, any help would be much appriciated.
06-25-2015 04:31 PM
@X-rayChemist wrote:
Hi, Im new to programing and Labview and am workinig on integrating a control with my VI, currently I can write to the other program but can not hear back, the software direction that I have revieved from the manufacuter of my instrument say that when dne the program will post a message in the clients message quese with the wParam as a flag. however I do not know how to access the queue or to read it, any help would be much appriciated.
Bob Schor
06-25-2015 04:32 PM
06-25-2015 05:08 PM
Here is the code trying to get labview to send comands to the program that operates the vortex detector.
06-25-2015 10:38 PM
Wow. That code makes no sense to me at all! One of the questions I asked was "What is the Instrument?". You didn't answer, but your posted VI shows nothing that looks like the usual "Hardware" connections, but rather a confusing series of mysterious calls to some Software library. It would really be helpful to know what was on the receiving end of all of this attention.
Now that I see your VI, another question is "Why are you using LabVIEW?". I don't see that you are playing to LabVIEW's inherent strengths, which like in the design of Virtual Instruments (whatever they are). I have a colleague who has LabVIEW installed on his PC, and now wants to force LabVIEW onto the local SuperComputer because he wants to do some directory searches, knows how to program a little in LabVIEW, so is lobbying to get LabVIEW shoe-horned onto this massive multi-core, multi-terabyte monster (I think running Linux) so he can create a sorted list of files. "When your only Tool is a Hammer, Every Problem Becomes a Nail".
Bob Schor
06-26-2015 03:08 AM
From the terminology such as "wParam", I'm guessing the manufacturure means the Windows Message Queue.