MKS PR4000 CONTROLLER driver for labview 8.6

Hello BZajec,
Thanks for your reply.
I have set up the instrument via null modem (crossed) RS232 cable and have communicated with the instrument via hyperterminal in Microsoft XP. The only command to which I have had a response is 'v' which has returned 'PR41413602' and what is I think the instrument ID.
I have tried sending the command 'AV1' but I get no response.
I am very unclear from the PR4000 manual as to what the command syntax is.
Also I have tried running one of the PR4000 Labview Vi's. I am having a VISA problem which I don't know how to solve. Are you able to help me with this. (Please see attachment for screenshot of the problem.)
Also I have the latest vesion of Labview (9) and I cannot run your vi because it is an earlier version. Could you please tell me which version you are running?
Thanks for you help,
Nevica

Hello everybody !
It took me some days to figure out how to control the PR4000 single channel (PR4000S).
The commands are written in ASCII but very strangely. For example, you want to send "update all values" to set the setpoint.
In the manual the command is :
0x21 @cmd Setpoint.
You have to send everything in ASCII. 0x21 is "!" but as there are some unprintable characters I will write it (0x21)ASCII.
@cmd is (0x60)ASCII (`) if you want the setpoint off and (0x42)ASCII (B) if you want the setpoint on.
What is impossible to understand from the manual is that the ASCII codes you send for the setpoint are not the ASCII translation of the setpoint. It is a modified value.
You have to change your setpoint value (float=sgl) to ASCII. You have 4 bytes. Then you change these for bytes to binary. The you cut the last two bits. To have 8-bit bytes, you have to send the missing two bits in the header. You fullfill the setpoint bits with a 1 and the parity and you have SETPOINTMODIF (4bytes)
The header is actually made of the missing bits of the following bytes.
header2(b7 b6 b5 b4 b3 b2 b1 b0) SPByte3 SPByte 2 0x0  header1(b7 b6 b5 b4 b3 b2 b1 b0) SPByte1 SPByte 0 0x0
In all the commands, Byte 1 is 0x0 ! So bits 0 and 1 of the header are always 0
bits 2 and 3 of header 1 are the "missing bits" of your setpoint Byte 0
bits 4 and 5 of header 1 are the "missing bits" of your setpoint Byte 1
bits 2 and 3 of header 2 are the "missing bits" of your setpoint Byte 2
bits 4 and 5 of header 2 are the "missing bits" of your setpoint Byte 3
You fullfill the bits 6 and 7 of your header with the parity
Then you send all your string :
(0x21)ASCII (0x60)ASCII (head2)ASCII (SPMODIFB3)ASCII (SPMODIFB2)ASCII (0x0)ASCII (head1)ASCII (SPMODIFB1)ASCII (SPMODIFB0)ASCII (0x0)ASCII (Carriage return)ASCII
The guy who invented that should be totally crazy...
As a reward, a VI (LV7.1) to set the setpoint and read the actual value (on COM1) 

Similar Messages

  • HP 54501A - Instrument Driver for LabView v.7 or v.8

    Hi all,
    I'm looking for HP 54501A - Instrument Driver for LabView v.7 or v.8. I have NI gpib/usb controller installed, but cannot control the scope via Labveiw.
    The link I found at NI web site within drivers section seems to be broken so I couldn't download it!
    Please, anyone, suggest/help!

    The link you were given works for me. You can try it again. The given link brings you to a page where the CVI and LabVIEW drivers are listed. the direct link to the LabVIW driver is http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9455659CE034080020E748... .

  • Aeroflex 2975 driver for LabVIEW 8.0

    Is there a way to convert the Aeroflex IFR 2975 driver for LabVIEW CVI for use in LabVIEW 8.0?  OR, is there a driver already developed for this? 

    Frank,
     I am using the LV 7.1.1 version of this CVI driver in an application I wrote. We should be able to recompile this for 8.0. Basically as I explained with no handshaking the instrument falls out of sync with the controlling computer. Basically the only GPIB command that is supported in that driver is *IDN?. So what I have done is after other  calls I use this command and compare the return string to see if it is what I expected. If not I use a popup telling the operator that a GPIB error occurred and to reboot the IFR to clear the bus. I also have instructed the operator to run NI Spy in the background...this seems to cut down the occurance of these errors. Another way to clear the bus that is faster and usually works is to stop the application, and read the bus using MAX until you see a timeout when there is no more data available( usually twice). Then rerun the application. Depending on the application this might be a work around though not an elegant one.
     Since the driver was converted from a CVI driver it uses the call library function node. This does not allow us to control the timing between the Write functions and Read functions. If you are doing something that is relatively simple you could use the TCL command set and VISA to write a driver. Just put a wait function between the Write and Read function and experiment with the timing until it looks like it won't fail. I've considered doing this myself but have been hoping that they will actually make the instrument 488.2 compliant. I am assuming that the actual error is that the data buffer is being read by the controller before the instrument is finished writing to it. The other scenario is that the data buffer might not actually be getting flushed every time it is read. I'm hoping my first assumption is correct or they have even more problems with the instrument.
     In January of '05' they actually enabled the following commands *SRE xx, *SRE? and *STB?. I recently wrote a simple vi to see what happens to the Status Byte after using IDN? command and reading the data buffer. The MAV bit begins logic low, then goes hi when the data is available. After reading the data (i.e. "IFR Systems, 2975.....) I again query the Status Byte. The MAV bit is still in a logic hi state. I sent screenshots of the front panel and block diagram as well as the .spy files to them. All was heavily notated and they said they were going to look at it. If anyone is interested in this I can post this code as well.
    Using LabVIEW 2010SP1 and TestStand 4.5

  • Need SM Bus Controller Driver for A75-S231

    Unfortunately I am without my system and backup disks and I am in desperate need of a driver for the SM Bus Controller. Problem surfaced after re-install of XP Home.
    I called Toshiba tech support to identify the motherboard chipset shipped with my unit (specs listed at end of post) so as to locate and download the driver. Unbelievably, Tech is not equipped to identify the make or model of my motherboard or identify the chipset. Third Party software tells me I have a Toshiba EDW10 Motherboard and tech searched the internet and told me I have some VIA motherboard and good luck finding your driver.
    Please help, I didnt think that Toshiba of all people would be unable to identify their own systems but here I am 4 hours later bothering you good people and still hunting. Does anyone have the SM Bus controller driver for the A75-S231 or tell me what chipset was shipped with my unknown motherboard?
    My system specs are as follows:
    OS Name Microsoft Windows XP Home Edition
    Version 5.1.2600 Service Pack 2 Build 2600
    System Manufacturer TOSHIBA
    System Model Satellite A75
    System Type X86-based PC
    Processor x86 Family 15 Model 4 Stepping 1 GenuineIntel ~3333 Mhz
    Processor x86 Family 15 Model 4 Stepping 1 GenuineIntel ~3333 Mhz
    BIOS Version/Date TOSHIBA V1.30, 9/10/2004
    SMBIOS Version 2.31
    Hardware Abstraction Layer Version = "5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)"
    Total Physical Memory 512.00 MB
    SM Bus Controller Device ID (from Device Manager) PCI\VEN_1002&DEV_4353&SUBSYS_FF001179&REV_18\3&61A AA01&0&A0
    Motherboard Toshiba EDW10???
    Thanks fo your help.

    Hi
    As far as I know your unit must be an US notebook model and please try to check Toshiba US download page under http://www.csd.toshiba.com/cgi-bin/tais/su/su_sc_home.jsp
    Please dont be mad on tech support but I dont see any reason why they should know every technical detail of your notebook. Toshiba has designed drivers for every hardware component that you can have anytime you want and install it 1000 times if you want. Toshiba guarantee that it will work properly and I dont see any problem there.
    Technical details you can get from Authorized service partners in your country.
    Good luck!

  • Hp driver for labview for hp8156a attenuator

    I am looking for a hp8156a driver for labview. There is not one posted in the driver section of this site. Thanks

    Here is a link to the programming manual. Section 8 shows the commands. It will take some work, but you can write your own drivers.
    http://www.home.agilent.com/upload/cmc_upload/All/opat0500.pdf
    Message Edited by unclebump on 07-12-2005 04:21 PM

  • Need SPARTAN 3E board Driver for Labview FPGA 8.5 !!!!!! Thx

     HI!!I need the spartan 3e driver for labview 8.5(not for labview 8.6) for school useI try to download it from ftp://ftp.ni.com/outgoing/NISPARTAN3ELV85.zip
    but this link is dead now. Could somebody send this driver to [email protected] PLZ? Thank you a lot for all in advance
    Solved!
    Go to Solution.

    Hello,
    I'm looking for same (Labview FPGA 8.5 for Spartan 3E). But it isn't available on related url now. I'll be glad if someone can help to find driver.
    Best regards, 

  • IS CLIP supported by Xilinx Spartan3E driver for LabVIEW 8.6?

    IS CLIP supported by Xilinx Spartan3E driver for LabVIEW 8.6?
    For HDL interface node, the enable chain and multi clock domain is difficult to understand
    Solved!
    Go to Solution.

    Reidl,
    Thank you for your answer.  How do I uninstall my current version?  I have looked in "Add or Remove Programs," but I don't see anything under "Xilinx" or "Spartan."  I do see an entry for "National Instruments Software."  However, when I click "Change / Remove" I don't see any entries for the Spartan Board.
    I tried running the installation program, and I received the following message:
    The NI LabVIEW FPGA Support for Spartan-3E 1.1.0 installation has failed with the following error.
    You have a higher version of NI LabVIEW FPGA Support for Spartan-3E in your system.  You must uninstall it before installing this again.
    What is the latest version number?  How do I check what version I currently have?
    Thanks,
    James Carroll 

  • Is there compatible motion driver for LabVIEW 8.6?

    Is there compatible motion driver for LabVIEW 8.6? The latest motion driver seems to be 7.6 and it only support up to LabVIEW 8.5...

    If you buy LabVIEW 8.6, you will also get 2008 August Driver CD.
    NI-Motion 7.7 driver should be included in it.
    Or you can wait for a while.
    I guess NI will put on Web these days.

  • Looking for HP 5371A driver for Labview 6.1?

    want to communicate with HP5371A by PC over GPIB port

    I think that device is too old for finding a driver for labview. If you have all the GPIB command, it's easy to program. I made it for another type of instrument.
    Benoit Séguin
    Software Designer

  • Need a HP3421A native driver for labview 5.1

    Hi,
    I'm looking for a native HP3421A driver for labview 5.1. Of course I searched in the "Instrument Driver Network" but I foundd only drivers for labview 6.0 and 7.0 or greater.
    According to this document: http://www.ni.com/pdf/manuals/321691a.pdf#search=%22labview%204.x%20hp3421a%22 there is a such driver for labview 4.x.
    Any idea where I could find this driver for labview 5.1 ? A haven't any "Instrument Driver Library CD-ROM".

    hi there
    the driver he is searching for can be found here (LV 7.0): https://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E969E659CE034080020E74...
    the driver uses the old school GBIP functions, so it should be possible to downgrade it down to LV 5.1. do downgrade open the "HP 3421A Example.vi" and choose
    File->Save with options->Save for previous. 
    since you only can downgrade to the next prior version of LV you need a ladder of LV versions, but i'm sure that if you ask here you'll find someone who can do this for you.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • USB Serial Controller Driver for windows 7 64bit

    USB Serial Controller Driver for hp 15-g049au windows 7 64bit
    This question was solved.
    View Solution.

    Hi,
    Install the Chipset drivers on the following link and reboot.
    http://support.amd.com/en-us/download/chipset?os=Windows%208.1%20-%2032
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Help With Multimedia Audio Controller Driver For XP Pro

    Hello,
    Please help!!!
    I am trying to locate the Multimedia Audio Controller Driver for XP Pro for an MSI 645 ULTRA (A6547MS) Motherboard.  The audio device is integrated into the motherboard and Windows XP Pro is not recognizing the device.
    I have tried looking at MSI Support Website but am unable to identify which is the correct driver package to use.  
    I would also like to know if there are any related WinXP Supplement driver package needed for this motherboard.

    Did you do a clean installation of XP or you only use the upgrade function?
    I recommend you to do clean installation if you didn't.

  • Satellite P505D-S8934 mass storage controller driver for win7

    Dear Expert,
    Anyone know where can i download the Satellite P505D-S8934 mass storage controller driver for win7? please help.
    BR
    Gryloo

    Hi gryloo,
    You can download all drivers for your notebook on this page:
    http://www.csd.toshiba.com > Download
    As far as I know for Mass Storage Controller you have to install the card reader driver.
    Check this!!!

  • Satellite A210-16G Mass Storage Controller driver for Windows Vista 32-bit

    Hello, I need Toshiba Satellite A210-16G Mass Storage Controller driver for Windows Vista 32-bit. If you have setup file, please redirect me, if you have any other file, please explain me where to install it.

    If I were you I would take look to the Drivers Download site of the Toshiba mainpage, because there you can find everything you need.
    The mass storage controller can either be the HDD controller or the SD-card controller. I would download both of them.
    Heres a direct link to the Drivers page: http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp
    Greets

  • No network controller driver for Portege R500 (Windows XP)

    Hello
    I don't quite understand why Toshiba does not provide the necessary drivers to make a new Portege R500 WLAN work. I have absolutely no wireless networking capability, as if the switch was turned off, and I have a yellow question mark in the Windows Device Manager ("Other devices", "Network Controller"). Windows does not find a driver on the two restoration CDs and trying to install everything from http://aps2.toshiba-tro.de/wlan/?page=downloads doesn't help neither.
    Has anybody managed to find drivers to correct this "Network Controller" problem for an R500 under Windows XP? Maybe my unit has a hardware defect, because I can't believe that WLAN support for XP is not provided out of the box or at the very least by downloading files on the Toshiba support site
    Thank you
    Olivier

    Hello
    Reading your posting one thing is strange for me. Can you please explain to me what you mean with: Windows does not find a driver on the two restoration CDs.???
    As far as I know restoration CD/DVD is not a kind of driver collection but recovery image that you can use for clean operating system installation. Can you please tell me which restoration (recovery) CDs you have? Are both of them for one operating system or you got one for Vista and other for WXP.
    I have checked Toshiba support page and there is listed WLAN driver version 11.5.0.32 / 9.0.4.37. Download it and unzip the driver files and before you start installation check readme.txt file at first.
    By the way, for WXP installation please use Installations Instructions document and follow listed installations order.

Maybe you are looking for

  • Report for Unrealized/Realized Foreign Exchange Payments and Receipts

    Is there a report in SAP that shows unrealized/realized foreign exchange cash receipts and payments. if yes, what is that report. Please provide transaction code. If not, do we need to create ABAP query. How do we create that Query in this regard. Wh

  • Online interactive form using ABAP

    Is it possible to create an ABAP program for Online Interactive form (NW 2004)? or do we need ABAP Webdynpro (NW 2004s)? We have implemented an offline scenario i.e. create an interactive PDF, fill the forms, save it, upload it and extract informatio

  • Registration of oracle database in restart fails

    Installed Grid Infrastructure12C/Oracle 12c running on Oracle Linux 6.4 with Oracleasm . Single instance, Oracle Restart environment created. Role separation with users grid and oracle. When running DBCA PRCR-1006 : Failed to add resource ora.test12c

  • When I order 4 Aperture photo books can they be sent to 4 different addresses?

    I am using Apple Aperture on an iMac. I plan to order soon at least 4 photo books and more later. Can 4 printed books be shipped to 4 different addresses in one order, or do I have to make 4 separate orders? If Apple has filled an order to print a ph

  • PXE Boot - Installation system files...

    Hi there, I need some clarity on the following please. I am applying the October 2012 ZENworks Imaging Driver Update. Before the update all works fine and it goes through the pxe boot process as follows. Pxe boots fine and I get the pxe menu. Once I