LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading from a USB port

Hello,

          

           Iam attaching a simple example to read datas using a USB port.But I don't have any DAQ card.And I tried to simulate a DAQ assistant but while running there, shows some errors.Can anyone have any suggestions for this problem???PLZ help

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 1 of 13
(3,269 Views)

hi danill33

without any DAQ card how you can access the Daq Assistant..

you should be having daq card with Usb connection or with PCi card or PXI card

without you can not access the daq assistant. but if you wan to transfer your data then you can use UDP data transfer examples...

hope u understand

tc

0 Kudos
Message 2 of 13
(3,265 Views)

Hi Nabel,

              Using the Measurement&A utomation Can we simulate a DAQ device without DAQ card??

            

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 3 of 13
(3,252 Views)


              Using the Measurement&A utomation Can we simulate a DAQ device without DAQ card??

            


Yes, you can simulate certain devices through MAX. However, there are some decives which cannot be simulated through MAX.

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
0 Kudos
Message 4 of 13
(3,234 Views)

hi danil

you can access Max without DAQ card but you can acquire data without any hardware connected

Max just show you the which hardware or card like PCI/PXI chasisss or card is conneced

hopes you undestand

 

 

0 Kudos
Message 5 of 13
(3,226 Views)

@Nabeloabbasi wrote:

hi danil

you can access Max without DAQ card but you can acquire data without any hardware connected

Max just show you the which hardware or card like PCI/PXI chasisss or card is conneced

hopes you undestand

 

 


No, you can acquire simulated data when you select to simulate a DAQ card in MAX.

 

Danil,

 

You need to provide the type of DAQ card you are using. Your VI shows a VISA Write and Read. These functions are not used for DAQ devices and you cannot simulate them and you cannot use the DAQ Assistant for non-DAQ devices.

0 Kudos
Message 6 of 13
(3,224 Views)

yes ur right.. denis

0 Kudos
Message 7 of 13
(3,217 Views)

Thanks to all for valuable suggestions.Yes I used VISA read and write functions.So in this case how to simulate to view a proper output??

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 8 of 13
(3,197 Views)

Hi Fragger

               I have one more doubt.In my attached example there shows a dropdown list for VISA resourse name.Can it be a USB port??Using an usb CABLE can we read data

using that attached example??Or that example is capable of  serial port reading only??

 

plz reply

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 9 of 13
(3,194 Views)
No. You cannot simulate a VISA device. You need something connected at the other end of a USB cable.
Message 10 of 13
(3,191 Views)