LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Request to read a USB device descriptor

Solved!
Go to solution

I'm wring a test sequence to test a prototype board's functionalities, including GSM, Bluetooth, JTAG,...etc. However, before coming to those modules, I want to have a module that could request and receive general information from the board (board revision, firmware, etc). What are a few ways to go about this? Is it achievable using LabVIEW code only?

 

Many Thanks, 

0 Kudos
Message 1 of 9
(4,096 Views)

I feel I should clarify my goal further. Take an Arduino UNO R3 as an example. What I want to know are the board type and firmware. These information are saved on the board somehow, correct?

0 Kudos
Message 2 of 9
(4,094 Views)

It is certainly possible, and common, to communicate with hardware in a TestStand sequence. It's likely that you can access the information you need using a LabVIEW code module from TestStand.

 

However, since this question centers more around the LabVIEW code, I think you might want to post this question on the LabVIEW board or the Instrument Control board to make sure that community members who are familiar with those things will see your question. 

 

Hope it helps!

0 Kudos
Message 3 of 9
(4,067 Views)

Daniel,

 

Thanks for the advice. I will post it to LabVIEW board. In the mean time, do you know if there is a mod available to move this thread over there. That way, there is no interuption in discussion. 

0 Kudos
Message 4 of 9
(4,064 Views)
You can contact the moderator by clicking on Options.
0 Kudos
Message 5 of 9
(4,062 Views)

Done. Thanks for the tip. 

0 Kudos
Message 6 of 9
(4,057 Views)
Solution
Accepted by topic author trung.bui

@trung.bui wrote:

I feel I should clarify my goal further. Take an Arduino UNO R3 as an example. What I want to know are the board type and firmware. These information are saved on the board somehow, correct?


Not necessary.  A micro controler can have as much or as little information on it as you want.  If you embed a way to request the board type and firmware, then yes you can read that.  Take for instance the LIFA for the Arduino.  That has no way to query what board type or firmware version is on the board.  It could, it should, and it wouldn't be too much work to add the code to have it.

 

So it really depends on the hardware you want to query, and each device will be different, unless it has some thing like IVI that can use the same protocol for multiple devices/interfaces.

0 Kudos
Message 7 of 9
(4,035 Views)
Solution
Accepted by topic author trung.bui
It's your own company's board or one you are manufacturing for someone? In the first case, it would be simple to find out if the information is stored someplace. In the second, you need to ask the designers. Pointless to ask about LabVIEW until you have that information.
0 Kudos
Message 8 of 9
(4,032 Views)

Exactly what I have experimented today. Was able to write a few lines of code for the Arduino and later communicate with it using putty serial com. As  you have pointed out, these type of info are embedded within the software in the microcontroller. 

0 Kudos
Message 9 of 9
(4,017 Views)