Probleme communicat​ion Pt1000 et MAX

Bonjour,
J'ai un probleme de communication entre MAX et un Agilent,
Je dispose d'un agilent 34970A, d'un GPIB et d'une carte insere dans l'agilent (34901A).
Avec MAX je communique avec "communicate with instrument" en language SCPI,
J'ai reussit a connaitre les temperature de mes Pt100 4 fils et des thermocouples dont les commandes sont:
Thermocouples de type J: MEAS:TEMP? TC, J, (@203)
Pt 100, 4 fils: MEAS:TEMP? FRTD, (@201)
Mon probleme est de communiquer avec la Pt1000 sur le port CH6
J'ai essayer:
         MEAS:TEMP? RTD, 85,1, 3E-06, (@206) mais on a par default la valeur d'une Pt100 2 fls
         Lorsque l'on configure la resistance avec TEMP:TRAN:RTD:RES 1000, (@206) cela fonctionne car si on lui demande TEMP:TRAN:RTD:RES? (@206) on a bien les 1.0000E+03 ohms. Mais je ne peut pas demander la temperature par la suite.
Merci d'avance pour vos reponse.
If you don't understand French I can translate.

Bonjour,
Merci d'avoir posté votre question sur les forums de National Instruments.
Je pense que le problème vient de votre utilisation d’une communication de
type série. Comme vous travaillez par le biais d’un port série (communication
RS 232-485), MAX n’affiche pas votre instrument (et notamment pas dans devices
ans interfaces). Par contre vous devriez être en mesure de voir les ports
séries qui sont utilisés pour communiquer avec vos instruments (sous la
rubrique sérial & parallel).
De la même façon, vous devriez pouvoir communiquer directement avec vos
instruments (sous LabVIEW par exemple) en utilisant directement les fonctions
VISA (du driver NI-VISA).
J’espère que ces informations vous aideront à résoudre votre problème.
Bien cordialement,
Guillaume H.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> NIDays 2011, le mardi 8 février au CNIT de Paris La Défense

Similar Messages

  • Communication Problem between RTD,Pt1000 and MAX

    Bonjour,
    J'ai un probleme de communication entre MAX et un Agilent,
    Je dispose d'un agilent 34970A, d'un GPIB et d'une carte insere dans l'agilent (34901A).
    Avec MAX je communique avec "communicate with instrument" en language SCPI,
    J'ai reussit a connaitre les temperature de mes Pt100 4 fils et des thermocouples dont les commandes sont:
    Thermocouples de type J: MEAS:TEMP? TC, J, (@203)
    Pt 100, 4 fils: MEAS:TEMP? FRTD, (@201)
    Mon probleme est de communiquer avec la Pt1000 sur le port CH6
    J'ai essayer:
             MEAS:TEMP? RTD, 85,1, 3E-06, (@206) mais on a par default la valeur d'une Pt100 2 fls
             Lorsque l'on configure la resistance avec TEMP:TRAN:RTD:RES 1000, (@206) cela fonctionne car si on lui demande TEMP:TRAN:RTD:RES? (@206) on a bien les 1.0000E+03 ohms. Mais je ne peut pas demander la temperature par la suite.
    Merci d'avance pour vos reponse.
    If you don't understand French I can translate.

    About this two kind exemple they are working:
    MEAS:TEMP? TC, J, (@203) and MEAS:TEMP? FRTD, (@201) for the measure of Thermocouple and RTD 4W,Pt100.
    But for the RTD 2W, Pt1000 it doesn't work.
    Could you give me an exemple of measurment  for this Pt1000 please ?

  • There was a problem connecting to the server "Max Time Capsule"

    Disclaimer:  Previously posted here (Ask Different) and similar to this.
    I'm trying to use my MBP inside and outside my office, and having it backup to my 2TB Time Capsule when on its wireless network, or defer backups when not on the Time Capsule's wireless network.
    Unfortunately, if I've been on a different wireless network for a few hours worth of backup attempts, bringing the machine back onto the Time Capsule's wireless network doesn't resume backups, and Time Machine never recovers. I can select the disk as a backup drive in the Time Machine preferences, but the disk remains unavailable from the Finder, and any backup attempts yield the standard:
    There was a problem connecting to the server "Max Time Capsule"
    Check the server name or IP address, and then try again. If you continue to have problems, contact your system administrator.
    My WiFi connection is through the same Time Capsule that hosts the backup drive, and its name and IP address have decidedly not changed. The only thing that seems to help is restarting the Time Capsule, but that is an inconvenient workaround at best.
    The problem sounds similar to Backup Disk Not Available, but the answers to that question are either to restart or change the disk name or turn off the 5 GHz network (which didn't help). I also looked at /Library/Preferences/com.apple.TimeCapsule.plist, but found nothing that seemed relevant.
    Any suggestions would be greatly appreciated. My MBP is running OS X 10.7.5, and the Time Capsule firmware is 7.6.1.

    There was a problem connecting to the server "Airport Time Capsule".
    The server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again.
    I still have internet connection, and have tried other suggestions across internet but really the only fix has been to power cycle the ATC. This unfortunately is only a temporary remedy for a day or so until it returns.
    Any suggestions on how to fix this problem?
    There is no fix.. I have written a bunch of suggestions to try.
    https://discussions.apple.com/thread/6106750?tstart=0
    It is very common on Mavericks.
    How long did it take from when you set it  up till it went bad??

  • Having problems using ion tape express with itunes cannot find the song on hard drive

    Having problems using ION tape express with itunes.  The song is on hard drive as temp1 not the name of the song.  And I have problems playing it in itunes
    because it says it cannot locate the song'

    Then correct the name of the song or point iTunes to the new file.
    Issues with restoring should be directed to the manufacturer of the backup software/device... this is not an Apple or iTunes issue.

  • MAX communicat​ion hangs after Standby Mode(with GPIB PCMCIA)

    I have a IBM Laptop with MAX 2.2 and a GPIB PCMCIA Card installed. After booting the computer I can communicate with GPIB instruments without problems. After I get the Laptop out of a Standby Mode, MAX can not make any connection to GPIB devices; when I scan for Instruments it hangs as well.
    The troubleshooting wizard tells me: one or more GPIB interfaces failed.
    Does anyone have the same problems or solutions ?

    On the NI-488.2 2.0 download page it is mentioned that that driver does not support standby mode. No such mention is made on the download page for NI-488.2 version 1.7 (which I need to use for my PCMCIA-GPIB interface), although the 1.7 release shows very much the same problem: After stand-by, communication with the GPIB port is no longer possible.
    The Visual Basic example tool for preventing stand-by may help those users who are familiar with VB, but it does not help me.
    Frankly - what I'd like to see is an improved NI-488.2 version that does support stand-by. Does NI consider providing such an upgrade/patch?

  • Problem with serial communicat​ion PLEASE HELP

    Hello everybody !
    I'd like to ask You for some feedback on my wierdo problem that I got with my program.
    I have built a device that detects changes in magnetic field. It is used for detecting vehicles passing it on a highway. Generally the main components communicate with each other by RS-485 protocol, but I would like to connect the device to a PC. To do so I am using a RS-232 protocol (I have a RS485=RS232 hardware converter).
    Now, I made the program (even two), which generally works, BUT some wierd things are going on sometimes; it happens that I have a problem to get a communication (after that, resetting the device by un-powering it helps, sometimes I have to restart the PC as well) but overall it happens quite not so often. The project itself is for passing one of my subject on the university - so I have to run the whole thing over there, here comes another problem : the program did not work on all of the bunch of PC's that are there. Same thing happens on my notebook. The effect of 'non working' is : I am recieving same data packet that is beeing sent... BTW : notebook does not have a RS232 port and I am using a USB-RS232 calbe converter (to count it out from the reason of problems I have checked it on my main PC and it works almost fine - almost because ocasionally I am getting the same sympthomps as I mentioned before ).
    Other problem is, when it works, that I am loosing communication for couple of hundreds of miliseconds and then it comes back to normal (i can see it on the osciloscope).
    I alredy looked for some answears here and there, and I found some suggestions about using 'buffer cleaning method', unfortunatelly I kinda do not know how to do it, and might that help anyways ?
    I also thought about using VISA drivers, but I am having trouble with it as well - the damn thing just does not work.
    My very bling guess is that everyting that I am expierencing is about using the communication protocol and seting it right. I am attaching both of the programs, PLEASE anyone pretty pretty help I totally ran out of ideas and knowledge and day after day I am turning it on and off on my PC and notebook hoping some miracle will occour ... 
    Many many thanks in advance !
      Best regards
                    Tom
    P.S. the program is very unfinished (man things are just put in), the main thing I am struggling now is getting, and setting the communication protocol right.
    Attachments:
    detektor_3_2.vi ‏141 KB

    The biggest problem I see is in the sequence:
    Write out a string.
    Wait 50 mSec.
    Ask how many bytes have been received.
    Read that many bytes.
    Can you guarantee that the data can make a round trip in 50 mSec?
    You should know that the SERIAL PORT WRITE completes NOT when the data has been sent out the port, but when it has been BUFFERED for sending. In other words it returns and starts the timer BEFORE it is actually sent.
    Also, given that there are 232 -> 485 --> USB conversions involved in both directions, I would bet that you are sometimes not allowing enough time for the data to get back.
    If you can control the protocol of what gets sent back, I would change your receiving logic. I think you should check for a carriage return or some other delimiter, and not react until you get that character (or until a reasonable timeout expires).
    In other words, try synchronizing the two ends. Something like:
    N = Get # bytes at port
    Read N bytes from port (flush any characters waiting).
    Write out command string.
    TimeLimit = NOW + 1000 mSec (or whatever)
    S = ''; (Working string)
    repeat
    N = #Bytes at Port
    If N > 0
    S = S + Read N Bytes
    Found = Search String for Delimiter
    until Found or (Now > TimeLimit)
    If Found, parse string S
    You are also re-initializing the port (SERIAL PORT INIT) every time thru the outer loop - that's unnecessary.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • I have problem with communicat​ion bethween 2 computers

    hello
    i have problem with communication bethween 2 computers
    On the firs computer i have installed OPC server from unitronics . In this case i communicate with my lookout process.
    On the second computer i have installed only lookout. 
    This 2 computers are connected with a VPN whireless .
    The second computer command the device from the first . 
    My problem is : After 10-14 hours comunications bethween computers is blocked . If i restart the first computer comunication begin to work.
    How to solve this problem , i don't want to restart every 10 hours the first computer
    Thanks in advice  

    1) Are you able to verifiy that the VPN connection is still active at the time of the loss of data? There may be a timeout in the VPN system.
    2) Is there any time out n the OPC server?
    3) Is there sufficiient memory on the first computer?
    Robert Hill
    Technology and Security Advisor

  • Serial Communicat​ion problem in LabVIEW 7.0

    I recently upgraded my test computer from a 450 Mhz machine to a
    Del 2.8 Ghz Pentium 4processor with 512meg's of ram using Windows 2000 for the operating system running LabVIEW 7.0.
    I use the serial port to communicate with a piece of hardware,
    Rs232, 115200 baud, 8 bits, 2 stop bits. NO hardware or software handshaking
    The hardware is capable of receiving data from the computer at a full 115200 baud up to 65k transfers at a time with no extra delays.
    The problem that the serial data coming from the new Dell computer will send out 2 bytes then waits 2 to 3 milliseconds and sends 2 more bytes.
    I generated a separate serial VI that will jest shove data out the serial port.
    The VI is a VISA configure serial po
    rt, into a while loop that contains 6 VISA Write VI
    And on the backside of the wile loop a VISA close.
    The above VI will generate the serial data stream as stated above
    EXCEPT when I put a PROBE on each of the ERROR OUT of the 6 writes, then the serial port will generate a continuous serial data stream with no millisecond breaks.
    I have changed the FIFO Buffer settings (all the possible combinations) of the serial port in Windows 2000, and that has hade no effect.
    Any help would be greatly appreciated
    James Zumstein
    E-mail [email protected]
    Attachments:
    Serial_Test_1.vi ‏45 KB

    Greetings!
    Serial port commucations problems can be a real joy, can't they? Have you tried communicating with your instrument with Hyperterm? Usually Hyperterm is capable of operating with almost no overhead, so you can see if there's any strange symbols being transmitted that might be holding things up. There might be an extra CR being inserted, or something like that, which will show up as heiroglyphics in Hyperterm. See if all your symbols coming back are valid. This is where I usually start.
    Hope this helps.
    Eric
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • COMMUNICAT​ION PROBLEM WITH BATTERY

    AM USING THINKPAD E531, RECENTLY LENOVO SOLUTION CENTRE SHOWS A ERROR MESSAGE THAT MY LAPTOP HAS COMMUNICATION PROBLEM WITH MAIN BATTERY AND ALSO IT SHOWS HEALTH MONITOR HAS NOT AVAILABLE.
    PLEASE RECOGNISE MY PROBLEM, SOLVE IT

    There might be a problem with your code. Here is an example program. Try running this, if this does not work and you are still seeing the same results as before, repost.
    This is a simple MSVC program to demo how to communicate with GPIB instrument with VISA commands with language interface Microsoft Visual C++.
    This program includes viOpenDefaultRM(), viOpen(), viSetAttribute(), viWrite(), viRead() and viClose(). To Run VISA commands in MSVC, "visa.h"
    and "visa32.lib" need to be included in the project. For detail information of the program, please see the comments inside the file VisaGPIBforVCDlg.cpp.
    Hope this Helps.
    JenK
    Attachments:
    VisaVC.zip ‏2285 KB

  • Problem with TCP/IP communicat​ion: error ni-448 when I want to write on a TCP/IP-con​nection

    Hi folks
    I have a really annoying problem: I want a computer (Win XP, Ethernet board, Labview 7.1) to communicate with my robot controller (Win 2k, Epson SPEL+ language). The robot controller is the client, the LabViewPC the server. now reading messages sent by the robot controller are no problem to read. But when I want to send messages from the LabViewPC to the robot controller I get an error message: error ni-448, make sure that the GBIP-controller is the primary controller.
    For the communication I open a TCP-listener and a TCP wait listener in a while loop. So far this works. Then I use the TCP-write function to send a string to the robot controller. Here the error described above occurs. So the communication doesn´t work.
    Can anybody help me?
    Please. Thank you in advance!

    hi there,
    are there several network adapters on your host? if so pass the IP of the network adapter to the "TCP listen.vi". i'm not sure but i think i remember that in former versions this had no effect. then you could use "TCP Listen.vi" on your slave and "TCP Open Connection" function on your host.
    you can use the "Simple Data Server" and "Simple Data Client" examples for a quick test.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • Printer-Cp​u Communicat​ion Problems

    I am having a problem with my printer. It works fine. Yet, when I go to print it doesn't do anything. It usually prints with no problems. When I checked to see the status of my printer through my computer it states: Door Open. I then opened and closed the printer door checking it multiple times to see if anything would change but it didn't. What do you suggest?

    Hi,
    First ensure the hardware can print with no issues by printing a test page:
    http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c01448018&cc=us&dlc=en&lc=en&product=3204785&tmp​...
    Additionally, have you tried plugging the USB into another free port of your Mac?
    Be sure to use a standard USB 2.0 cable, not longer than 2 meters long.
    Ensure it is directly connection to your Mac and not through any USB hub, extention or a USB port of an Apple keyboard which is not powered.
    As well I would recommend trying a different USB cable, then check for any change.
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Problems on serial communicat​ion with an instrument

    Hello everybody!
    I'm having some problems interfacing with an Optical Spectrum Analyser from Anritsu via RS232. It has a GPIB interface that works well already, but i need to make communication work thru the serial port. If i use Measurement and Automation, i can write and read the commands alright. But, if i use a self made Labview vi, it doesn't work at all.
    My vi consisted on:
    ViOpen - ViWrite - ViRead - ViClose
    Normally, i can know when the communication initialized alright with the OSA because the instrument enters a "communication state". When i use M&A, it enters on that state. When i use Labview, it doesn't.
    I used NI Spy to see what differences were between the M&A and Labview. Here is a list of comm
    ands issued by M&A:
    viOpen(...,"ASRL1::INSTR",...)
    viInstallHandler(...) *
    viEnableEvent(...)
    viWriteAsync(...)
    viReadAsync(...)
    viClose(...)
    My Labview VI issues the following commands:
    viOpen(...,"ASRL1::INSTR",...)
    viWriteAsync(...)
    viReadAsync()
    viWaitonEvent()
    viWaitonEvent()
    viWaitonEvent()
    viTerminate()
    viClose()
    Labview returns a "problems in serial read" error, but i know that the program doesn't even begins communication with the OSA. I suspect that the error lies on that viInstallHandle function, that is ran in the M&A routine but it isn't on Labview, but i can't find a way to make a vi that runs this function.
    Anyone can help??? I am really frustrated because i know that serial communication works, but on M&A only!!!
    Thanks in advance
    Felipe

    I consulted the document "VISA and Serial Communication" from ni.com. It
    was helpful. I'm using Labview 6.
    I don't know how to get Labview to tell me what it is doing at the level of
    viTerminate(), etc., so I suppose I may not be able to contribute anything
    to you, but I did get my serial port working in Labview recently.
    I used a loopback test, by shorting pins 2 and 3, to verify that Labview was
    successfully sending and receiving from the chosen serial port.
    I made a .vi that let me do one thing at a time, initialize, write, and
    read. This helped me realize that the instrument wasn't very fast at
    getting back to me, when I was nailing down what I thought was a receiving
    problem.
    To get Labview to use the serial port on this system I had to uninstall a
    graphics tablet driver that was taking control of the port on bootup. VISA
    would report that there was a problem until I did this. Maybe if M&A runs
    first your OS still thinks the port is being used and won't let Labview use
    it.
    Also, depending on what serial .vi I was using, I needed to verify that I
    identified the port correctly. Port 0 in Labview, in my case, corresponds
    to COM1, this is for the "compatibility" .vis. When using VISA serial .vis,
    I discovered that COM1 was identified by VISA as ASRL1. However the default
    resource name that came up when putting a VISA serial .vi into a diagram was
    ASRL2 which does not exist on this system. Manually changing the "2" to a
    "1" in the front panel solved my problems.
    Your M&A and Labview VISA seem to agree on ASRL1, which might indicate that
    isn't the problem.
    I used the VISA interactive control to tell me how VISA was doing
    identifying the ports and which ports it thought it could use during any
    given session. This is available on my system in the VISA program group. If
    there are yellow question marks on ports in this program, the port in
    question has wandered away.
    There are some examples and functions in the directory:
    Labview 6\vi.llb\instr\serial.llb
    and also in the directory
    Labview 6\examples\instr\simplserl.llb,
    as well as
    Functions --> Instrument I/O --> Serial
    and
    Functions --> Instrument I/O --> I/O Compatibility --> Serial
    Compatibility
    "Felipe Ferri" wrote in message
    news:50650000000500000004140100-1042324653000@exch​ange.ni.com...
    > Thanks for your comment, but i tested the serial read and write
    > functions that you used on your program and they didn't work...

  • Tcp open connection problem while parallel tcp communicat​ion

    I have a problem with TCP Open connection while running another TCP transfer.
    While I run the Simple Data Client/Server example (..NI\LabVIEW 2010\examples\comm\TCP.llb) I would like to open another TCP connection according this simple VI attached. This runs on another port than the running Client/Server example. When the address of the PC to be connected to, is known to the network (IP/Name) all is fine, when the address is a name unknown to the network, than a significant delay in the datatransfer of the client/server example occures. Hope that anybody can reproduce/explain this behaviour.
    Network setup here is Gigabit ethernet/ DHCP / Windows XP Prof. SP3/ LV 2010 / LV 8.6.1
    Jörn
    Attachments:
    TCP_Open_blockingproblem.vi ‏16 KB

    I really appreciate your comments,
    to make sure that we do see the same effects let me exactly explain what I see: I open the example vi's : Data Client/Server example (..NI\LabVIEW 2010\examples\comm\TCP.llb. You can open it localy that means on one PC or open one  on another PC. To make it simple for the first try open it localy and run both vi's according the example instructions. On the Data Client.vi I see now the samples updating many times per second (should be every 25 ms, because the server produces these in this intervall). All is like expected. Now open the TCP_Open_blockingproblem.vi from above and let it run unmodified (except you have an PC named 'DataServer0'). What I see now in the Data Client.vi : The samples update came nearly to an halt (this is why I called it 'blocking'). Updates only every 6 seconds (here in my network setup). Now stop the TCP_Open_blockingproblem.vi. The DataClient.vi is running on the same speed as before. Now modify the 'DataServer0' to a pc name existing in your network and start again. This time the sample speed is not degraded. Can you confirm this behaviour ?.
    I did recognise the effect for the first time while I desigend an appliaction  based on the STM library and posted the effects I saw, here : http://forums.ni.com/t5/Components/Simple-TCP-Mess​aging-STM/td-p/583438/page/5. Like Christian Loew supposed there is a bunch of code around. It is a multi tier application receiving TCP traffic on some ports and distributing on others. So I decided to isolate the problem from STM and my own code and came to the simplest code which I thought it was possible where the problem still occures which I described above.
    Your suggestion to lookup the names once in the beginning of the application is a possible way, but I must say with the experience now I am still very uncertain of more unexpected future side effects during lookup, especially on network setups at customersites where I have no direct access. So I decided to give an UDP registration mechanism a try, like it is realised in the STM Examples of HostReceiver.vi and Target Sender.vi.
    Thanks for following so far,
    Jörn

  • MS Vista Service Pack 2 and BB Desktop Mgr Communicat​ion Problem

    I have recently update MS VISTA with Service Pack 2.  Now the BB desktop manager will not sync with my BB 8320.  Have there been any issues with this.  Is there a resolution?  If so what is it?  Thanks! 
    Solved!
    Go to Solution.

    Perhaps...if you wish to do so, I suggest the following steps (insert plenty of reboots of your PC...not just restarts, but full power down reboots). Also, it is advised that you be logged into the PC on an account with full admin rights. Further, under Vista, use the "Run As Administrator" option for everything.
    1) Remove your device OS update package from your PC (add/remove programs)
    2) Cleanly uninstall the RIM DTM software:
    KB02206 How to perform a clean uninstall of BlackBerry Desktop Software
    3) Get a fresh download of the RIM DTM software:
    http://na.blackberry.com/eng/services/desktop/
    Choose the version that is newest and (if applicable) compatible with your PIM (if you are synchornizing via USB):
    KB12268 Applications supported by BlackBerry Desktop Manager for synchronization
    4) Download (to your PC) a fresh copy of your device OS package from your carrier:
    http://na.blackberry.com/eng/support/downloads/dow​nload_sites.jsp
    5) Install DTM to your PC
    6) Install (also to your PC), the device OS package
    7) Start the organizer configuration over:
    KB17022 How to configure organizer applications for synchronization using BlackBerry Desktop Manager
    Hopefully that will get things going again.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Problems to query communicat​ion

    I am using a PCI GPIB interface and the software NI-488.2 to the establishment of communication with Spectrophotometer Perkin Elmer  Analyst 700. But when I query communication by *IDN? the message “undefined header” appears.

    I am using a PCI GPIB interface and the software NI-488.2 to the establishment of communication with Spectrophotometer Perkin Elmer  Analyst 700. But when I query communication by *IDN? the message “undefined header” appears.

Maybe you are looking for