Jump to content

jmax007

Members
  • Posts

    8
  • Joined

  • Last visited

jmax007's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thanks. That will work perfectly. Not sure how I missed this? I guess I'll mark this as the new thing I learned today:)
  2. I am using the "open VI reference" to call a vi like a pop-up window. like shown: In the vi that I am calling, "Debug_Output_Display.vi" I am connecting to a com port. I would like to be able to specify which COM port to choose. This is all part of a much bigger program that has one front panel where the COM port is selected. How can I pass this information to the "Debug_Output_Display.vi"? I am not sure how to do this? Any help would be appreciated. Thanks Jamie
  3. jmax007

    USB Hub

    I knew there was a much easier way.... I was looking at this as a far more complicated problem than I needed to. If I keep the default windows drivers, the USB will show up as additional drive. I can then just use simple file I/O No need to mess around with VISA and changing the drivers. Thanks J
  4. jmax007

    USB Hub

    I am having a bit of trouble with VISA and USB and hope that there is someone who can help, or point me in the right direction. I am trying to test a USB Hub, so what I want to do is connect my PC to the Hub, and then a USB key to the Hub. I have read through some info on ni.com and was able to create/change the driver for the hub to be recognized in LabVIEW. I can pull up the VISA Interactive Control and see my device, but that is where it ends. I have no idea what to do next? How can I communicate with the Hub and/or the USB key that is connected to it? I am not very familiar with USB protocols and communication, so I am at a loss. I have tried to look at the "USB RAW" examples, but I am not sure what to do with them or how to use them. All I want to do is write/read to a USB key through the Hub to be sure it works properly. Thanks J
  5. jmax007

    Tables

    Thanks, I found the invoke node. I knew it would be right in front of my face....
  6. jmax007

    Tables

    I am currently reading from a file to populate a table in LabVIEW. I am having success with changing colors/sizes etc using property nodes... but I cannot find a way to write to a single cell in the table. Is there no way to do this? I am sure I can figure out a long way to do this, but I am new to LabVIEW and I'd hate to spend a long time working on something that has an easy solution. On that note, is there a easier way to clear the background colors. Currently I am re-writing each cell to reset the background. Thanks Jamie
  7. I am new here to LabVIEW and was hoping for some recommendations. I need to read the data from a file/spreadsheet, into an array of clusters. This sounds like something that must be common, but I can't seem to find a good example Basically I have an excel sheet that contains setup information that I want to load into an array of clusters. row1 is a cluster, row two is a cluster etc... Since I am new to LabVIEW, I can imagine that I could use the "read from spreadsheet.vi" , but it only allow me to read the whole file as one data type. I could do this several times reading from the same file, but using a different data type each time, then using indexing to parse the data and create my cluster of arrays. This sounds ugly and I am guessing there might be an easier way to actually read a file into an array of clusters. If not, then I will do it the "long route" I am using LV8.6 and the file format is not important because I will be writing and maintaining the setup information. This forum has been a great help so far and I thank everyone who uses it.
  8. I am working on the exact same thing as Paul and I am seeing the same problem. When I use systemExe.vi, my PIC gets programmed correctly, but if I unplug the pickit2, the systemExe.vi still returns '0' in the return code. I am trying to figure out how I can detect this error. I have tried dannyt's suggestion, but I cannot seem to get it to work. I am new to LabVIEW, so I may be doing something wrong. Where is the "end of line" termination supposed to be? Thanks Just to reply to my own question. I figured out how to get it working. I put the whole command into the command line. I guess for the error to return correctly I have to call the program direct through SystemExe.vi and cannot use a batch file. Thanks
×
×
  • Create New...

Important Information

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