Jump to content

grmc

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

grmc's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi guys / girls, Does anyone have any idea how to set a dialog box to open at the mouse coordinate on a double click? I obtain the mouse position using a double click event, and then attempt to pass that data into the fp.origin property node, but the mouse coordinates do not match the front panel coordinates. Any help would be much appreciated! grmc
  2. Hi all, I am trying to determine the feasibility of creating a system in LabVIEW 8.20 that can simulate a hardware target. Basically the idea is to be able to run the C code on the simulator without modification to the C code (apart from the driver layer). Has anyone attempted anything like this before? I suspect LabVIEW wasn't designed to handle C code in such a way that this would actually work!! The only way I can think this might work as it stands, is to create a C code interpreter... Any thoughts? Ideas? Opinions? Better tools to accomplish this? Glenn
  3. I think you're right. I was using Agilent IO Suite 14.1 - I installed NI Visa drivers (rev 3.4) from the LV disk and all works fine now. I wonder why the Agilent VISA driver no longer handles Serial Break in LV 8.x.x?
  4. Has anyone tried the Serial Break function in LV8? I tried both the function and the example, and neither seem to be working?? It was working on the same machine in LV 7.1...
  5. Hi all, I am trying to find out what the Wait On ActiveX and Create Event Queue vi's actually do, as I am having trouble with implementing Register for Event Callback and Callback vi's. A bit of background on the problem: I register for the event, select the appropriate Event from the pulldown menu, and create the callback vi. If I put in a dialogue box and set it to say something each time the event fires, it works correctly. The problem is, there is no information in any of the controls inside the callback vi that gets displayed. I can unbundle the cluster to get the name of the data that I want out, but it too has nothing in it. If I use the Create Event Queue and Wait on ActiveX vi's however, I can get the correct information from the Event Data output of the Wait on ActiveX vi. Does anyone have any suggestions as to what I could do? Or better still, a password for these vi's? Regards, Glenn
  6. Just right click on the command line node, create a constant or control, and inside that type in cmd /C filename.xxx To give you an idea, inside the constant / control, type in cmd /C dir/w and then right click on the standard output node, and create an indicator. This will execute the dos command "dir", which will list the files in the current directory, and output them to the standard output indicator. Note that the /w is a command line argument for dir, which just produces the list in wide format (just proof that the command line input also allows command line arguments) By the way, if you right click on System Exec.vi, and then select Help, more often than not it will give you enough information for you to be able to do what you want to do :beer: grmc
  7. Excellent I found some code in the examples directory in LV which gave me some more ideas, I've accomplished what I set out to achieve now! Thanks for your time though :beer: grmc
  8. Hi all, Just wondering if anyone can help out with ActiveX Event Handling. I can manage to open the ActiveX object, and have successfully registered for the event, and created a callback vi. The problem I am facing is that I cannot see any event data when the event actually occurs. I know this isn't worded very well, but I was wondering if anyone has a sample ActiveX vi that accepts data passed to it from a windows application, and then displays the data that was sent within the vi. It doesn't matter how simple the vi is, I just need to get an idea of the workings of ActiveX within LV. Thanks in advance, grmc
  9. Excellent! I was sure there would be a better way! Thanks a lot Randy
  10. When I open it in notepad, it reads 8D I had a lot of trouble attempting to convert it and typecast it to the value I wanted, so I created this vi which does the trick, albeit in a very backwards fashion! Surely there has to be a faster / simpler way than this! Download File:post-854-1106017813.vi
  11. Hi all, I'm having a bit of trouble converting from a String to the same value in Hex. E.g. - I have a text file, with which I store HEX values in a String format. I read these values into my app in String format, but I need to convert these back into Hex format for my app to work properly. So basically, if I read in 8D from a text file, I need to be able to write 8D (in hex) through the serial port. The generic String to Hex conversions do not seem to do what I need them to do. If anyone has any ideas, that would be greatly appreciated. Cheers, grmc
  12. Leave him alone zeus224. We have all got to start somewhere, and the second best way to learn is to ask (the first being to try work it out yourself!!) People do not need to be put down by you and your incredibly interesting use of the English language. :thumbdown: Would you like it if you asked a question on these boards that was perceived as being easy by another forum member and they shot you down for being "dumb"? Didn't think so. Positive attitudes people
  13. Yes I am aware of that, but the fact remains that the Match String function does not differentiate between a hexadecimal input and a string input. One would expect that when looking for a hexidecimal string, the string would be matched exactly as it appears.
  14. The match string function does not work when trying to match the Hexadecimal string C8 2B. It will only return C8 as a match. Download File:post-854-1102390914.vi
  15. Still seems to be a little out. Heres the one I was working on anyway, if you are interested. Its Nearly correct :S It seems to at least group similar names anyway Download File:post-854-1102304293.vi
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.