06-20-2007 02:31 AM
06-20-2007 06:43 AM
06-20-2007 04:57 PM
Hi Mikeporter,
Thanks for your answer.
I've found a solution at my problem. But i'll try your suggest to see which solution is the most efficient.
Thanks.
julesjay
06-22-2007 06:03 AM
06-22-2007 07:11 AM
06-25-2007 02:50 AM
I used the ARP dos command. It takes only fews millisecond while Pingcontroller.vi takes 20 secondes to get MacID and IP. Have you any idea why this vi is soo long?
julesjay
06-25-2007 03:17 AM
Here is the way I use to convert the macID string.
1. First with exec.vi, I type the command DOS arp -a which returns a string like 00-00-0c-7a-7f-de for macID. It's easy then to obtain the string 00000c7a7fde.
2. Then I use a vi from FPGA library named nirviHexStringToByteArray.vi which is located in C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\rvi. The result ByteArray is transformed into string by ByteArraytoString.vi and it's done.
3. Now when I swicth my string in hexadecimal it displays 0000 0c7a 7fde.
I don't know which operation is done in this vi but if you know it I'm interessed!!!
Julesjay
06-25-2007 06:48 PM
06-26-2007 02:52 AM