LabVIEW and Spider8, school project

Heey everyone.

I have a little problem and I hope that one of you could help me with this problem.

I try to get the data of a Spider8 with a laptop equipped with LabVIEW, I do this by using a USB cable to series, instead of a parallel cable.

I have defined this USB to serial as a COM port cable:

[URL =http://img59.imageshack.us/i/devicemanager.png/] [IMG] http://img59.imageshack.us/img59/4613/devicemanager.PNG [LINE] [URL]

Then, I installed the spider8 software. After I tested the communication between the laptop and the spider8 using an altitude sensor, this sensor has an output of 0V to 10V. Communication was perfect between the Spider8 and portable, as you can see below, (I put the probe in channel 0)

[URL =http://img14.imageshack.us/i/spider8setup.png/] [IMG] http://img14.imageshack.us/img14/6200/spider8setup.PNG [LINE] [URL]

Now, I copied the Spider32.dll file and copied in the "WINDOWS\system" and "WINDOWS\system32" directory so that labview can see these .dll files.

[URL =http://img25.imageshack.us/i/spiderdll.png/] [IMG] http://img25.imageshack.us/img25/7715/spiderdll.PNG [LINE] [URL]

[URL =http://img17.imageshack.us/i/spiderdll2.png/] [IMG] http://img17.imageshack.us/img17/7489/spiderdll2.PNG [LINE] [URL]

Now, I used the example of www.hbm.com .vi for attempting to communicate between LabVIEW 8.2 and Spider8. But WHENEVER I try to run this example, I get the following error:

[URL =http://img134.imageshack.us/i/fehler1.png/] [IMG] http://img134.imageshack.us/img134/198/fehler1.PNG [LINE] [URL]

The vi called S8_InitAll is at the very beginning of the program, take a look at the example of HBM blockdiagram:

[URL =http://img269.imageshack.us/i/blokdiagram1.png/] [IMG] http://img269.imageshack.us/img269/2316/blokdiagram1.PNG [LINE] [URL]

When the case structure is false, this vi gives the error:

[URL =http://img143.imageshack.us/i/blokdiagram2.png/] [IMG] http://img143.imageshack.us/img143/6060/blokdiagram2.PNG [LINE] [URL]

It's the S8_InitAll vi: (frontpanel, blockdiagram and "call library" function)

[URL =http://img12.imageshack.us/i/s8initall.png/] [IMG] http://img12.imageshack.us/img12/8415/s8initall.PNG [LINE] [URL]

I seriously have no idea how to solve this problem, whenever I run the example program, I get the same error. I did something wrong with the DLLs from the East - it something else? Please help, thanks!


Tags: NI Software

Similar Questions

  • Recognition of map to play using LabVIEW and a webcam

    Hello

    For our project in my school (2nd year of electronic engineering), we are a distributor of Blackjack robot. In the help of LabVIEW and a webcam we'd like to take a picture of the card he's going to face and then compare it to a database, we did prior to that the program knows which card it is.

    So what we really want to do is

    -scan the card he'll deal with (take a photo of him)

    -compare with our database of predefined photos of all playing cards

    -Once it has good info is obtained, channeling through our program so that we can count and whatnot with this card.

    -He needs to recognize the value of the card, not the type (i.e. must know that it is a 4, not that it is a 4 diamond)

    I have not found a good solution, again, can someone help us project? Any tips are appreciated with kindness

    Kind regards

    Vincent


  • The interface of LabVIEW and matlab

    Hello, I want to interface LabVIEW with MATLAB using the TCP/IP protocol for data transfer. Can anyone, please give me an instruction step by step how to do this? If not, can point out you where I can get them? Thank you.

    Hi Gilles,.

    TCP/IP is a generic protocol then you should easily be able to build enough interfaces TCP/IP for your LabVIEW and Matlab code and data transfer on ASCII or variants, etc., depending on what kind of data you are trying to transfer. I'm not too familiar with Matlab, but on the end of LabVIEW, there are a few examples of server and client very good TCP/IP provided with LabVIEW.

    Another option you may want to, and the reason why I answer it is that I did recently a project through which we took some legacy code MATLAB which we wanted to transpose into LabVIEW, so that we can automate then completely a test system that we use TestStand. A big part of it, we have been able to derive equivalent LabVIEW, but some functions where LabVIEW does not have an equivalent appropriate, or where it was simply more effective, simply copy us and paste Matlab code in any event in the first instance MathScript nodes (not dependant on Matlab) or Matlab script nodes (which will return if all goes well at a later date to transpose in full) LabVIEW for that is no longer dependent on a Matlab license).

    In both cases, the facility to do this was very impressive, and we were able to wrap huge amounts of code Matlab LabVIEW with very few problems. As an idea, have you considered your functionality of Matlab of packaging in this way and keeping all the customer TCP/IP and comms server in LabVIEW?

    Note: If you have not found it pick up the palette "Matlab Script.

    Good luck

    David

  • speech recognition of labview and Arduino

    Hello

    I want speech recognition with Labview and Arduino. I have already install driver of Arduino and test it in Labview. I want to ask if it is possible to guide me if I want to use hidden Markov and algorithm of ANN, what should I do. In fact, this project is belongs to the robot by voice control, but my knowledge of labview is not so.

    Hello Mohammed,.

    Are you familiar with the theories behing Hidden Markov Models?

    A good starting point would be, for example, this document:

    http://sites.stat.PSU.edu/~Jiali/course/stat597e/Notes2/Hmm.PDF

  • I downloaded music from Amazon to use in a school project, when I try to import it into Windows Movie Maker, it dosent work.

    "The file C:\Users\ (NAME) \Desktop\Dont as it is impossible to import Believing.amz stop because the necessary codec to play the file is not installed on your computer." If you have already tried to download and install the codec, close and restart Windows Movie Maker, and then try to re-import the file. "I'm doing a school project where I need to create a movie using Windows Movie Maker, I downloaded my music on Amazon and when I try to add, it does not work. Above is the error message I got. What should I do?

    Please read this:
    http://www.Amazon.com/GP/DMusic/help/AMD.html . for the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • School project

    I need help:

    I recently started a school project and I installed IIS on my computer and created a server local, all I can think about. I guess I'm just too much of a beginner. I tried to put any type of video on my page. I have the video downloaded on my computer and I have read the forums to try to understand what I did wrong. I can't find a way to do it. I have the file in many different types. (.mov, .swf and .js,. ed., .wma). I would really appreciate help because I tried for a few days now.

    Here is an example of a thing, I've tried... I don't know what I did wrong:
    < object
    ClassID = "' clsid:02BF25D5 - 8 c 17 - 4B 23 - BC80 - D3488ABDDC6B" "
    "codebase =" http://www.apple.com/qtactivex/qtplugin.cab " codetype =" video/quicktime"data =" ThemetrozTeaserTrailer.mov"type =" video/quicktime"width ="317"height ="233">"
    < param name = "src" value = "ThemetrozTeaserTrailer.mov" / > "
    < param name = "controller" value = "true" / >
    < param name = "autoplay" value = "true" / >
    < embed src = "ThemetrozTeaserTrailer" width = "317" height = "233".
    AutoPlay = "true" controller = 'true '.
    pluginspage =" http://www.apple.com/quicktime/download/" > < / embed > "
    < / object >

    and here's another:

    < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase ="" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7, 0,19,0 ' width = "361" height = "281" align = "middle" title = "FinalBattle" > "
    < param name = "movie" value = "FinalBattle.swf" / > "
    < param name = "quality" value = "high" / >
    < embed src = "FinalBattle.swf" width = "361" height = "281" align = "middle" quality = "high" pluginspage ="" http://www.macromedia.com/go/getflashplayer ' type = "application/x-shockwave-flash" > < / embed > "
    < / object >

    Without getting into a discussion 'format wars' between what video format is best, if you want to save videos in Windows Media, they should be .wmv. If you want to embed in your page (once again, as Windows Media), you can use this:


    ClassID = "CLSID:22d6f312 - b0f6-11 d 0-94ab-0080c74c7e95"
    ID = "mediaplayer1" >

    "pluginspage =" http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/ "
    Width = "320" height = "300" src = "your_video_name.wmv"
    filename = "your_video_name.wmv" autostart = "True"
    ShowControls = 'True' ShowStatusBar is kept = "False".
    ShowDisplay = 'False' autorewind = "True" >

  • Passing variables between LabVIEW and TestStand

    Hello

    I'm just learning how to use TestStand and although there are a multitude of resources available, I always find me at a loss on how to pass variables between TS and LV, leaving me to think that there is one fundamental thing that I'm missing which is likely, given that I have a weeks experience with LabVIEW and a days of experience with TestStand.

    I took a glance to the example of 'Clusters' to the Code Modules in TestStand examples (I use TS 2016 if it matters) because I thought it would be quite ideal for what I hope. In this case, I hope to be able to pass a string (a file path) to LabVIEW and VI power take this string and use it as part of an order for the Exec.VI system.  Then, I would be able to pass strings back to TestStand to show the user if an error occurred, but I thought I should get the first part of work.

    I guess my question is what do I have to wait to see in clusters to the example of the Modules of Code? The Watch window displays all defined variables premise on which has the ContainerOut in the Variables pane, but I don't see any kind of update on facades (VI1.vi and VI2.vi) LabVIEW code. Should I be?

    I looked at a few other discussions of the forum here and here, as well as the document of the basis of knowledge here, but could not recreate their solutions. It seems that the connector pane would be a viable way to go, but I'm not sure on how we create and use effectively. According to this document , it makes it seem like it should be simple enough to makes these terminals, but I am still missing a key step. I was able to follow all the steps on the knowledge base document and run the sequence, but then had no idea if it worked or not; I have the report show me the values of the variables I put, but I have no idea whether or not he actually did anything with the LabVIEW VI, or how I could see that.

    Please let me know if you need further information or clarifaction everything I ask.

    Thank you for your time,
    JColvin

    Digilent, a company of National Instruments

    If you want to enter values, you must create a vi for instance dialog box

    The OK button will allow new values to pass to the output terminals.

    A Cancel button will pass just the original through the output values without alteration. The VI will close when either the OK button or cancel were pressed.

    Concerning

    Ray

  • How to pass variables between Labview and Teststand

    It is probably a trivial question, but I'm new to TestStand. All I'm doing is updated to a variable in Labview and then pass this value in a local variable Teststand. A simple test that VI is attached. I get no error and it seems correct, but when I followed the variable via TS watch display is not updated. Also I am not able to read the variable outside TS. It is probably a trivial thing, I'm doing wrong, but I'm stuck.

    Too bad, it was simple. Just need to add the context of sequence as input, then set it to ThisContext TS

  • cDAQ-9172 error message 200485 in Labview and 88705 Max

    My company has had this machine for awhile not operational.  I decided it was time to get this thing running but continue to flock to the top with a 200485 error when I try to run Labview and 88705-error when I try to change anything in the cDAQ-9172 runs at MAX.  I'll try to update the software and reinstall the drivers in the hope that it is a mistake to simple communication from the device to the computer, but in case it's something more serious that I am not seeing that I wanted to post this in the hope that someone might have an answer.  Thank you

    I would start by checking the device loader OR. Error 88705 in MAX is caused because the Windows Service OR device charger has not been loaded. Below is an article about starting the service knowledge base.

    http://digital.NI.com/public.nsf/webPreview/89A6279147AA994A862572DF00491BCA?OpenDocument

    Thank you

    Steven Koo

  • Communication between PCI6251, Labview and Matlab

    Hello

    I work with a Council of PCI6251, driven by an executable labview.

    I get measurements from several sensors (pressure, temperature, etc.) which are read by the executable of labview.

    I would like to know if it is possible to send these Matlab measurements at the same time.

    I mean: is the PCI6251 card can send data to Labview and Matlab at the same time of acquisition?

    Or I need to install a second PCI card for that?

    (Labview and Matlab are installed on the same PC now)

    Hi Nico974,

    If you want to transfer data from LabVIEW in MATLAB, you have to use ActiveX connection between 2 software or to add the node to MATLAB in you program LabVIEW (see http://digital.ni.com/public.nsf/allkb/2F8ED0F588E06BE1862565A90066E9BA?OpenDocument)

    Another solution is to use the of MathWorks Data Acquisition Toolbox, because the card PCI-6251 is supported by this Toolbox (http://www.mathworks.fr/products/daq/supportedio14005.html)

    But here you have a LV executable so if you can't change it you will not be able to use your exe and a Matlab Script at the same time, if you need another PCI card.

    Sincerely

  • LabVIEW and MAX Series

    Hello

    I have a question. I would like to make things with LabView and serial port. I can't understand how to add my serial port in MAX I have only a 'Software' menu there. I must first install new VISA? Thanks for help.

    OK never mind. Install the new VISA has solved my problem.

  • A few questions about LabView and (fairly complicated) thermocouples

    Hello, I intend to read [this is only 16] 20 thermocouples (type K - in data acquisition, assistant it is J but it will change soon). I use two devices, usb-6008 and usb 6251. I had a BT program (see table below) and I have some questions/statements that need to be confirmed:

    1. I plugged my devices, put DAQ Assistant on the Panel, the temperature chose->-> K thermocouples and I scored channels by dragging a slider 'clicked' on all channels. So now I'm able to read all channels, right?

    2. I have added a few thermometers and digital indicators with them to have an accurate reading of thermometers in digital data.

    3. I've read a few articles on tracing multi channels on a single diagram of wave and I want to apply to my program. Basically, I don't know how to run, I need to make a table and plug it on the graph of the wave. The thing is, I don't know how to do it.

    4. I would get 1 sample per second 1, I added the delay time = 1000ms. Unfortunately, DAQ Assistant says it works like 1 k samples by 1 Hz.

    I am quite fresh in LabView and currently I view tutorials and other things. I would be grateful for advice.

    BTW, I can't test if it works with thermocouples connected because I don't have at the moment and the place where I would be able to test the program has very limited access


  • How to detect a TCPIP SOCKET lost with LabVIEW and NI-VISA

    I use VISA functions in LabVIEW to communicate remotely with instruments on visa TCPIP SOCKET resources.   In general, this works well simply by creating a resource, from name to VISA Open then setting some attributes of the session.   Sometimes an instrument will reset or pedaled and this power, I've noticed, is that I have to call a VISA Close, then reopen the resource so that it can communicate again or close LabVIEW and run again.   If you use only VISA Open without calling a VISA near first of all you cannot communicate with the target.   The problem is that I have no way to detect this condition.   I tried to always call a close VISA before VISA Open and it seems to work for this condition, but it seems weird to always close a session before you open it.   Why no VISA OPEN does not work under this condition, and is it possible to detect this situation?

    It works this way because this is the behavior of TCP. A TCP connection is a connection dedicated between two end points. Hand unfortunately get an error of a read operation or in writing there is no way to determine if the fly othe of the connection is still there. You must close the connection, because otherwise the VISA will continue to use th eold connection that is no longer valid. Close it allows the cleaning system the dead link.

    If you communicate very often, you could simply open the connection, have you stuff and close it. Overhead costs for the establishment of the new connection are not that much. If you use a constant flow of data then you will need to monitor errors and then reconnect by closing the old one and open a new connection that you have observed.

  • What differentiates labview and other programming languages?

    What differentiates labview and other languages such as c or c ++?

    What makes me choose?


  • Interface between LabVIEW and c#

    Hello

    IAM trying to send data to Labview via ithernet in a product that already have in c# .net. This means that data send LabVIEW must be posted in c#. Thus the Labview will act as the server and the product in c# will be serving the customer. I have serached in the forums to make the connection between Labview and c#. I saw a tutorial to make dlls in labview, in what they explained to hold tools > Build Application or shared Library.But I can't find in my tools although I version2009 of professional development.

    Can someone give me some instructions to send Labview data and display it in c#. IAM attaching the VI Server I made. The client in c# is a great product that has already done by others in c#. I have very less experience of programming in c#. Can someone give me some instructions or attach a few tutorials to make the connection between Labview and c#.


Maybe you are looking for