How can I use a labview VI as a CVI instrument driver

I have a VI for the Keithley 485 that would like to convert into a form usable by CVI. I don't have labview so I cannot generate a DLL based on the VI.

daquiry:
I've downloaded the 485 driver from both the NI Instrument Driver Network and the Keithley site, any they are both written natively in G (LabVIEW). The driver is rather simple, and is just making 488.2 / VISA calls. Keithley's site also doesn't offer drivers for the 485 in any language other than LabVIEW. This surprises me. I would suggest contacting Keithley and verifying that no C driver exists for the 485. If that's the case, then you may have to write a driver yourself. The 485 Quick Reference guide should have a description of all the available GPIB commands, along with sample code. Since you probably won't need the full range of functionality of the GPIB interface, writing a driver for what you do need shouldn't be t
oo bad.
I've written a short instrument driver which contains only a simple read() function. In implementing this, I've endeavored to translate the G code into C, but unfortunately, I don't have an instrument, so I haven't been able to test it.
Hope this helps..
-- Chris
Attachments:
cviKe485.zip ‏5 KB

Similar Messages

  • How can I use the LabVIEW Symbol Editor as a Sub-VI?

    How can I use the LabVIEW Symbol Editor as a Sub-VI?

    mc-hase wrote:
    > Thank you for your ansver.
    > That means that you see no possibiltiy to use the built in window? (I
    > think the built in window is programmed with LabVIEW as well...)
    The icon editor at least up to version 7.0 of LabVIEW is not written as
    VI but directly implemented inside LabVIEW, which is written in C/C++.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How can I use a windows netbook as a wireless hard drive for a Macbook Pro?

    I have an old Acer Aspire One netbook sitting around and a 2TB WD hard drive that I use with my Macbook Pro 15" running Mavericks. I was wondering if anyone had an ideas how I could wirelessly access the netbook with the WD external HD attached from the Macbook Pro. Furthermore does anyone have any ideas how I can use the netbook as an airplay client so I can stream my Mac, iPad, or iPhone to my netbook which would be plugged via VGA into a TV?
    Any help would be greatly appreciated!
    -Micah

    Download and install the airport utility for windows.. it isn't strictly necessary but the bonjour service makes life easier.
    The request for username and password is correct. Username is whatever you like.. but windows needs it.. so admin.. being the common router one.. password by default is public unless you changed it.
    Now to get the TC to work properly..
    1. The names should be SMB compliant.. by default they are wrong.. use short names, no spaces no special characters.. pure alphanumeric. That is for TC name and wireless names.
    2. Wireless passwords should also be same use WPA2 private.
    3. In the disk sharing page.. manual setup.. put in the windows workgroup name.. ie WORKGROUP.. this helps the discovery process.
    4. In the same area, turn on the guest account to read and write.. not necessary but helps with later versions of windows particularly.
    5. Access the drive by using the direct IP address. ie in Windows Explorer address bar, \\10.0.1.1 (or whatever IP the TC is at).

  • How can I use my Time Capsule as an external Hard Drive for my PC?  My PC can't find it.

    Hi, I just bought this Time Capsule for my home.  I've got the internet access for all my devices (Mac, iPad, PC, iPhone) and I've got the Mac backup working through Time Machine.  I'm supposed to be able to use the Time Capsule as an external drive for my PC, but I can't figure it out.  My PC doesn't recognize the Time Capsule as a Network Place.  I called AppleCare, but they don't have all the answers for "PC issues."  They tried to get me to Map a Network Drive, but my PC popped up a window asking for a Username and Password.  It looks like something similar to when I VPN into my company network from home.
    I'm using Windows XP Professional, Version 2002, Service Pack 3.
    Any help would be appreciated.
    Thanks!

    Download and install the airport utility for windows.. it isn't strictly necessary but the bonjour service makes life easier.
    The request for username and password is correct. Username is whatever you like.. but windows needs it.. so admin.. being the common router one.. password by default is public unless you changed it.
    Now to get the TC to work properly..
    1. The names should be SMB compliant.. by default they are wrong.. use short names, no spaces no special characters.. pure alphanumeric. That is for TC name and wireless names.
    2. Wireless passwords should also be same use WPA2 private.
    3. In the disk sharing page.. manual setup.. put in the windows workgroup name.. ie WORKGROUP.. this helps the discovery process.
    4. In the same area, turn on the guest account to read and write.. not necessary but helps with later versions of windows particularly.
    5. Access the drive by using the direct IP address. ie in Windows Explorer address bar, \\10.0.1.1 (or whatever IP the TC is at).

  • How Can I use EZDrummer in Audition CS6?

    Hello, I´m Trying to use Toontrack´s EZDrummer in AU, in AU 3 I only add a Midi track and after that I select DFHSampler (EZDrummer) in a Piano Roll, but I can´t do this in AU CS6, How Can I use EZDrummer? is a Virtual Studio Instrument (VSTi)

    This forum is only for discussions about the forums themselves. I think you should post your question in the Audition forum:
    http://forums.adobe.com/community/audition

  • How can I use LabVIEW to send the equivalent of a CTRL D (in VT 100 format) out the serial port of my computer?

    I am trying to write a vi that interfaces with a piece of OEM equipment that is set up to talk with a VT 100 terminal. I can't seem to locate the ASCII equivalent string (if there is such a thing) of a CTRL D. Is there a vi that emulates VT 100 commands?

    If I recall, CTRL-D is EOF on most ASCII tables.
    You'd probably have to use an escape sequence
    or if you can use an unsigned 8-bit that might be
    easier.
    In article <[email protected]>, TLS
    wrote:
    > How can I use LabVIEW to send the equivalent of a CTRL D (in VT 100
    > format) out the serial port of my computer?
    >
    > I am trying to write a vi that interfaces with a piece of OEM
    > equipment that is set up to talk with a VT 100 terminal. I can't seem
    > to locate the ASCII equivalent string (if there is such a thing) of a
    > CTRL D. Is there a vi that emulates VT 100 commands?

  • How can i use activeX Control in labview?

    how can i use activeX Control in labview?
    please describe me step by step.
    thanks.

    Well..that was quite helpful..but now I'm encountering certain problems. I've attached the VI I've made.
    I don't need sound at the moment so I dropped it. (Although I tried to play it..but all I could hear was a very annoying sound.) Secondly I don't want to display any date or time..so i dropped that property too.
    Now when I run this Vi...the webcam turns on, the screen of videocapx pops up..then the webcam light goes off..and another pop up appears saying..labview is not responding..and i have to close it reluctantly.
    I haven't placed the stop capture property in this vi. i checked it by placing it too..but that doesn't work.
    I would like to notify that my actual task is to acquire image and then compare it with another one already present on my pc. I want you to please help me out..solve my first query then I'll proceed with the latter part.
    Attachments:
    activexvideocaps.vi ‏20 KB

  • How to insert delay without using loops, and how can I use variable to store data in labview

    Hi all,
    I am new to Labview and I realized that quite often I am in condition to require a delay beween two functions or elements.. how can we insert a delay in such cases?
    I know how to use delays in a loop. but don't know how to inser some time delay between two elements.
    I have one more question, I know its a bad practice to post 2 questions in 1 thread.
    How can I use a temporary variable to store data, So far I am storing it in an indicator by making it invisible in front panel and making local variable of that indicator, is it the right way to do it ?
    Thanks in advance.

    Generally, LV doesn't have variables in the same sense that most languages do. You can use indicators to perform the same function as variables, but as Adnan pointed out, you run the risk of having race condition and it creates data copies, which is a problem if you have a lot of data. In most cases, you should use wires to perform the function of variables, which is to store data and make it available to the different functions in your code. Instead of thinking about variables, you need to think about data (something like "I have the data coming out of this function. Where does it need to go?").
    Try to take over the world!

  • How can I use USB interface in Labview?

    Hi.
    Does labview allow to USB interface?
    I have been seen allowing GPIB and RS232.
    I'm beginer at Labview and wanna use USB interface for my target system and pc.
    I wanna know how to labview interfaces from target system to pc.
    And if Labview doesn't provide USB interface module, how can I use USB?
    Is using a USB at Labview hard to beginer?
    Plz, answer to my quetion.
    sorry, my English is very poor.
    thx for reading my article.

    You can access devices connected to the USB port, but not in the same way as you would a GPIB or RS232 device. There are no USB drivers like there is VISA for GPIB or serial. Rather devices that plug into the USB appear to the systen as some sort of standard resource like a printer, disk drive or IO board. LabVIEW then interacts with these devices as it would any other device of the same type.Look at it this way, if you have a USB daq device you will access it through MAX the same as if it were a plugin card. Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How can I use the CAN MODULE in LABVIEW 6i?

    How can I use the CAN MODULE in LABVIEW 6i?
    HELP ME! PLEASE

    Not sure what your real question here is, but I'll take a stab at it.
    The NI-CAN drivers (module) only work with the NI CAN cards. If you have a different vendors card, you'll have to contact them to see if they have LabVIEW drivers.
    If you do have a NI CAN card, then you just need to install the NI-CAN drivers and you're ready to go. Have a look at the examples for help in getting going.
    If you're having a specific problem, please give us some more details and we may be able to help out a bit more.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • How can I use the work/result generated by quartusii in labview 8.0

    hi ,
    I customized a developing board in quartus ii on the basis of nios ii ,and there are  many customed i/o devices in it, then I want to ask how can I use the work/result  generated by quartusii  in labview? I am new in labview. and I can't find any relationship between quartus ii and libview 8.0.
    tks!

    http://forums.ni.com/ni/board/message?board.id=170&message.id=264457#M264457

  • How can I use "write to spreadsheet" during the data is taking but not the end of all the loops

    Hi,
    I have to run an experiment on Labview 6 or 5. I don't have Labview 7 on that computer for some reason. My experiment is talking about 1000 hours, and I have a probelm on storing the data. Right now I am using "Write to spread sheet" and I set the "append" to false. And the data is installed at the end of the experiment, that means after 1000 hours. In the mean time if somthing oges wrong like power cut or what, I will lose all the data. So what I want to do is to save the data evertime when the data is took. I tired to set the "append" to true, but it does not let me to choose the "file path"--- when I choose this and select write on new or excisting file, it said" you may not be able to save on a exciting file" and it does not let me create a new file either. If anyone have the lidea like how can I use the "wrtie to spreadsheet" function and at the same time can install the data everytime inside the look, please let me know. Thanks alot.
    KL

    KL,
    It sounds like you want to periodically save your data so it is in smaller files. (great idea) For this operation you will not want to append the data...if something happens to your system while the file is open it could become corrupt and ruin all the data. You need to write the new block of data to a new file every time. Now...this depends on how big your data is...if you only have like 500k of data to write in a block you should probably write several blocks before starting a new file. I don't know enough about how much data you are acquiring. In either case...the write to spreadsheet file.vi will need a different name each time it is called and you will not want to append. Append = false.
    -Brett

  • How can I use undo and redo with run time menu?

    Hi..I try to built my own menu for graphic programming. How can I use undo and redo in labview with run time menu?

    filozof-
    During runtime, by default, LabVIEW has undo/redo data changes under the edit menu. This will undo/redo changes made to controls during runtime. If you want a more extensive undo/redo (custom for your application), you are going to have to do quite a few things
    1) Create a custom runtime menu (Edit>>RunTime Menu) and place your own undo/redo controls on it
    2) Keep an action history in your program
    3) Catch the Shortcut menu event for your custom undo/redo controls
    4) Reverse the last action in your histroy when you catch the event
    This method would allow you undo entire operations (like resize, move, or whatever kind of functionality you are building into your application) unstead of just undoing data changes.
    Xaq

  • How can I use the NI PXI-6508 with Lab View 7? what are the first steps to get started??How can I use the channels with lab view 7????

    I have a 8 slot PXI system with 2 NI PXI 6508 and 1 DMM 4070 in it. I want to get started with programming the digital I/O cards (6508)! How can I use this cards with LabView 7?what is the best way to get started, or where can I get examples showing how to use the several channels?
    Thanks!
    Philipp

    Philipp,
    The best way to get started is to decide if you want to use traditional NI-DAQ or NI-DAQmx. Recently we released NI-DAQ 7.1 which provides NI-DAQmx support for the PXI-6508. In my opinion, NI-DAQmx is more efficient and much easier to use.
    To get started with examples, simply launch LabVIEW and go to Help>>Find Examples. Then expand Hardware Input and Output>>DAQmx and select the appropriate digital group for your application. This should help get you started.
    Please repost if you need addition assistance. Good luck with your application!

  • How do I use a Labview Enum as a Variable Parameter for Teststant

    I have a Labview VI that performs a relay setup based on a Port selection that is an Enumerated  Type Def. The Control comes in as a drop dwon box in test stand. The question is how can I use that same dropdown as a variable to pass into a subsequence. I am not sure how to get it to show up as a custom  Type in test stand. I am using Labview 8.2 and Test Stand 4.0
    Thanks,

    As of TestStand 2010 there is not a way to natively create enums in TS.  A quick google or bing search using "TestStand Enum" should reveal all those who have tried before you.  I believe that in the Ideas Exchange there is already a note to have TS do this and I'm positive the TS developers are aware...
    In answer to your question you will have to save it as a numeric and pass it down to the sequence.  Or I kinda like this idea:
    http://forums.ni.com/t5/NI-TestStand/Using-Enumerated-data-type-in-NI-Teststand/td-p/773312
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

Maybe you are looking for