Jump to content

ashwin

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

ashwin's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Download File:post-10588-1202299207.zipThanks Rolf,For guiding me in the right direction.I have actually accomplished enough except a few things. I am able to acquire signal. I called various DLL functions but I could not get DATA READY status. There is no function in the given DLL for checking if data is ready, so I actually got the Data and then checked for its correctness cuz a GETDATA function in DLL gives me the data and I am checking 10000 Samples. As soon as I get 10,000 Samples, I get out of the WHILE loop, of course after doing some more processing.Also I could not implement the STOPSAMPLING and CLOSEASB functions of the DLL, very well using CALL LIBRARY FUNCTION node so I used a workaround calling them from VB and writing ActiveX DLL. If you try to use the STOPSAMPLING function from DLL in LabVIEW, it always gives an error, depite of giving correct DataTypes in arguments....I just want you to verify my acquisition process and any ideas to find when data is ready in the device.If you got some Idea on improvement of my code please let me know...i am uploading the code.. its one hell of a messed up coding though, cuz I had to finish this before a set timeline......but it works...ThanksAshwinQUOTE(rolfk @ Jan 28 2008, 03:27 PM) David,I think the code I uploaded for Rolf to review can solve your problems...Its huge so just find the CALL LIBRARY FUNCTION part....Also I have called the functions from my DLL, so please use API provided by your Device manufacturer for info on your DLL functions, I have used mine...ThanksAshwin
  2. Anybody coming up on this please? I think we can use messaging queues for this along with dynamic events? want a more focused example? Thanks a ton in advance Ashwin PTAG (Product Test Automation Group) QuEST QUOTE(ashwin @ Jan 26 2008, 07:53 PM)
  3. Hi Jim, I am trying to receive a DATAREADY message from a USB based DSO ASB3000 using its driver DLL. Can u tell me how to use ur VIs for receiving a message from a Device? Tnx a ton Ashwin QUOTE(Jim Kring @ Oct 22 2002, 11:20 AM)
  4. Hi, I am trying to use an ADTEK ASB-3000 Digital Stotage Oscilloscope with LabVIEW. I am trying to use Driver DLL given by vendor. They have given API for DLL exported functions. I have the following functions: ASB3000create ASB3000setmode ASB3000StartSampling ASB3000getstatus ASB3000getdata ASB3000stopesampling using LabVIEW, I am able to create connection with device using ASB3000create function with CALL LIBRARY FUNCTION method. I am also able to SET MODE with settings information sent from LabVIEW. I am also able to use AB3000StartSampling. The problem is that I want to poll the device for receiving its status and data ( using ASB3000GetData and getstatus functions). I tried listening to the device using Queue but its not able to listen to DATAREADY message i.e. 1125 ( Decimal) please convert to equivalent HEX. Until I receive DATAREADY message, I can't start start reading data using ASB3000GetData function. In a VB sample program, they are constantly polling for DATAREADY and then running getstatus and getdata functions, if they have DATAREADY msg received from device. Also, I don't want to use NI-VISA RAW method and use vendor driver DLL. Any help on polling the device to receive message for DATAREADY? any example VI for similar device will be a great help. Thanks Ashwin Product Test Automation Group(LabVIEW) QuEST
×
×
  • Create New...

Important Information

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