Problem in cmu with visa

hi,
    I trouble   in       the problem with this:  when i   program     in CMU200 with NI visa,like the  samples.there a   error curror,the  code like this:
      viOpendefaultRM(&defaulrRM);
       viOpen(defaultRM,"GPIB0::14::0::INSTR",VI_NULL,VI_NULL,&instr);
    visetattribute()    //set          the timeout value
    viwrite(instr,"SYS:REM:ADDREC 2,\"GSM900_SIG\"\n",strlen("SYS:REM:ADDREC 2,\"GSM900_SIG\"\n"),&retcount);
    above     are seccessed,      but when         i select a function group would errror:
     viOpen(defaultRM,"GPIB0::14::2::INSTR",VI_NULL,VI_NULL,&h_gsm900_sig);
    do i use a   wrong method to select        "GSM900_SIG"?          anyone who can     give me  a           suggest?thanks!!
waiting......

Hi awei114,
Could you give more error information?

Similar Messages

  • Problem on WinXP / Labview 6.1 with VISA (serial port)

    There is a problem on WinXP / Labview 6.1 with VISA which i use to poll the state lines of the serial port. The only functions that i use are "VISA Open", "Find Resource", line state properties and "VISA close".
    On my own machine (WinME) it works fine as a standalone application (with runtime engine in the same direction), even if i rename the Labview directory so that Labview is not found.
    From my VXIpnp directory i deleted all but these files:
    directory "Win95",
    subdirectory "Bin" containing "NiViAsrl.dll",
    subdirectory "NIvisa" containing "visaconf.dll".
    When shipping this to WinXP (and copying "VXIpnp" to the root directory), the serial port was not found, so i renamed the direction "Win95" to "
    WinNT", but this did not work also.
    I installed the VISA server, although it seems not to be required -- no result.
    Final question:
    What must i do for distributing the program as a standalone application for all windows platforms?

    Hey Joachim,
    In order to create an installer that includes the VISA Run-time engine for serial IO you will have to purchase LabVIEW 7.x. See screen shot. This packages a small compact version of the run-time that can only be used for serial, but it takes up much less space. The installer that I created has my application, the LV Run-time, and the VISA run-time and it is about 26 MB.
    That is much smaller than if I had to include the 32 MB LV 7.1 run-time and the 14 MB VISA run-time separately. It would have been even smaller if I would have uncheck some of the items that I wasn't using.
    -Josh
    Attachments:
    advanced.JPG ‏31 KB

  • Problem with visa 3.2

    Hi all,
    We have a problem with an application (LV7.1 / WXP) which has to decode serial data from a smart actuator. This actuator sends 8 bytes of data @38400 bps every 3ms (which leaves about 1ms interval between these blocks of data). The application is working perfectly with VISA 2.60 but since we tried it with VISA 3.20, we are constantly getting framing and I/O errors.
    We are sure that the problem is coming from VISA, as we ran the software on the same PC with 2.60 and 3.20. The errors come only with 3.20.
    An application engineer of NI told us that these errors were not implemented in the 2.60 version and that's why they didn't show up. However, the data that were read by the software with 2.60 were absolutely consistent (no garbage) ! If we filter these errors out, many data are lost, so this is not a solution.
    The problems come either in development mode or with an executable file.
    Does anyone know about the origin of these framing errors ? The signal is clean, no noise and Hyperterminal does not seem to have problems with it.
    If it can help, we can provide a NI-Spy capture file.
    Thanks to anyone who can give us some advice on this topic !

    Hi Kaustubh,
    Yes, either a Spy capture or some specific error codes would be great to continue troubleshooting this issue. Without more specifics, it is hard to say what errors that VISA 3.2 is catching that 2.6 did not. Hopefully we can help you further once a spy capture is posted.
    Alternatively, if VISA 3.2 does catch some errors that did not harm your original program, or even errors that your original program depended upon, you could always go back to the previous version and use that one. Just wanted to be sure you were aware of that option.
    john m
    Applications Engineer

  • LVDiff with VIs in library

    Hi, 
    I've successfully setup both LVDiff and LVMerge with TortoiseSVN and I'm using it heavily, but I get an error from LVDiff if the VI belongs to a library:
     Error 1004 occurred at Open VI Reference in NI_procmphier.lvlib:CMP compare two VIs.vi->lvdiff.viPossible reason(s):  LabVIEW:  The VI is not in memory.
    To load a VI into memory with the Open VI Reference function, a path must be wired for the VI Path input.
    VI Name: TMCalc_Qp.vi
    Has anyone changed LVdiff so that it works with VIs in library?

    I just had the same problem, strange that no one has seen it before...
    The correction is committed in the project's repository since 2 years, but the download archive contains an older version.
    You can download the right version from this link. Just replace the vi in the lvdiff directory!
    Charles

  • MHDDK with Visa: event when DMA transfer complete?

    We are using devices like PXIe-6363, PCIe-6321 depending on requirements and these are dealt with using the MHDDK with Visa backend on Windows (I hope that is the correct terminology).
    All I/O, both analog and digital simultaneously, is done using DMA transfers using the standard MHDDK classes for doing so. This all works without problems.
    One last improvement is I'd like to be notified using a callback/event system when a new block of data is ready: currently I'm just polling the input DMA's available number of bytes in a continuous loop with no sleep() in order to be able to process data as soon as it's ready. Works, but keeps one cpu busy the whole time.
    I didn't see any way to use callbacks using the MHDDK which makes sense since it's purely based on register I/O if I understand it correctly.
    However I noticed Visa has viInstallHandler, viEnableEvent and the likes. I went through some documentation on the event types but admit this is over my head and I have no idea where to start.
    Could anyone point me in the right direction?
    First question is if what I'm asking for is possible? Second I think I just have to call viInstallHandler for the correct event type, then figure out if the event is for an input DMA transfer from PXI? Using viGetAttribute somehow?
    Thanks in advance!

    You'll have better luck posting to the ddk board - http://forums.ni.com/t5/Driver-Development-Kit-DDK/bd-p/90

  • Memory leak with Visa Close in loop

    I read the other posts about the memory leak problems with Visa Close, but eliminating the Visa Close from VI causes problems with read & write (it seems to go out of sync). Any suggestions? Example attached.
    Attachments:
    MKS_651C_Serial_Communication.vi ‏144 KB

    Solved the problem. I had to change the bit count and adjust sort. Removing the Visa Close did eliminate the memory leak.

  • How to read three parameters for exemple temperatur​e,current and voltage from the same port with visa read and separate them in a table

    Hi i want to read parameters with visa read, from three sensors related to  pic16f877a, using  module xbee ..but i want to make every one from those parameters (temperature, voltage and current) in a table ..it's the first time i use Labview so i don't know if ther is a solution for my problem so if any one have any idea please help me. thnx in advance. 

    [email protected] wrote:
    Hi i want to read parameters with visa read, from three sensors related to  pic16f877a, using  module xbee ..but i want to make every one from those parameters (temperature, voltage and current) in a table ..it's the first time i use Labview so i don't know if ther is a solution for my problem so if any one have any idea please help me. thnx in advance. 
    The short answer is: "Yes, of course."  But you are going to have to do the legwork and learn LabVIEW basics before we can offer meaningful help.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Having problem opening files with gradients in CS2

    When I try to open an illustrator 9 file from CS2, I get "An unknown error has occurred." message. I believe this may be a CS2 problem because when I checked further, I discovered that only AI 9 files where the gradient feature was used were affected. Any suggestions would be appreciated.

    Hi Sjmitc, I followed Barbara's instructions about only about 24 hours ago and since then my files have been opening perfectly.  I tried it again before replying to you and they are still opening fine.
    I did have to go through my files a couple of times to find all the Elements preferences, but the solution is working fine so far.  I will let you know if I have any further problems.  It is maddening when it happens, so I hope you can fix yours.
    Best of Luck 
    Date: Wed, 6 Nov 2013 18:23:28 -0800
    From: [email protected]
    To: [email protected]
    Subject: Problem opening files with Mac OS Mavericks and Elements
        Re: Problem opening files with Mac OS Mavericks and Elements
        created by sjmitc in Photoshop Elements - View the full discussion
    Henwen, Is this solution still working for you? I tried this same solution on mine a few days ago and had no luck. However, it actually let me open files this afternoon then when I went back in later today, it was doing the disappearing act again.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5821793#5821793
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5821793#5821793
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5821793#5821793. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Photoshop Elements at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Accessing Parallel Port Control and Status Registers with VISA and Win7x64

    Hello all,
    I've posted this in the I/O forum for VISA, but this main forum seems to get a lot more traffic so I'm posting here too.
    Wondering if anyone has a solution for accessing the Control and Status registers on a parallel port with VISA, now that Win7 has locked down the I/O ports and In Port.vi and Out Port.vi don't work anymore.  I've been looking all over for a solution and haven't found anything that will help; either the VISA solution is shown but doesn't mention if the Status and Control registers are accessible, or the solution is for a 32 bit system.
    The one thing I found was under Instrument I/O>VISA>VISA Advanced, there is a group of functions called Register Access; but, when I investigate that, it seems to need an address that the detailed help describes as "VXI, VME, and GPIB-VXI" or "PXI" with no mention of Parallel Port usage, so I'm pretty much at the end of what I can figure out.
    Basically what I need to do is use the data lines to send info, and watch the status lines for incoming discrete signals.  Since parallel ports are half duplex, I can't have the data lines be both inputs and outputs simultaneously, which is what I need.  A cheap D I/O card would be the easiest solution, but to make a long story short I'm dealing with a legacy system and that's something my higher-ups want to avoid.
    Any help is greatly appreciated!

    Hello,
    I was able to solve this problem using software from Entech Taiwan; it's called TVicPort and it's available for free for personal use, and very cheaply for commercial license.  If you have questions let me know, I'll do my best to answer them but investigate Entech's solution and see if it'll work for you:
    http://www.entechtaiwan.com/
    http://www.entechtaiwan.com/dev/port/index.shtm

  • Problem opening files with Mac OS Mavericks and Elements

    I have recently installed Mac OS 10.9.x Mavericks.  Since this I have had problems opening files in Elements 11.  I upgraded to Elements 12, blindly hoping the problem would fix itself, however it hasn't.   When I try to open a file the Finder window pops up then disappears immediately.  Occasionally it will stay open until I scroll down but then closes.   I keep the files on an external drive but the drive is working with all other applications, so I don't think it is that.  If anyone has had a similar problem and has any ideas I would be grateful as the program is unusable for now.  Thanks very much in anticipation

    Hi Sjmitc, I followed Barbara's instructions about only about 24 hours ago and since then my files have been opening perfectly.  I tried it again before replying to you and they are still opening fine.
    I did have to go through my files a couple of times to find all the Elements preferences, but the solution is working fine so far.  I will let you know if I have any further problems.  It is maddening when it happens, so I hope you can fix yours.
    Best of Luck 
    Date: Wed, 6 Nov 2013 18:23:28 -0800
    From: [email protected]
    To: [email protected]
    Subject: Problem opening files with Mac OS Mavericks and Elements
        Re: Problem opening files with Mac OS Mavericks and Elements
        created by sjmitc in Photoshop Elements - View the full discussion
    Henwen, Is this solution still working for you? I tried this same solution on mine a few days ago and had no luck. However, it actually let me open files this afternoon then when I went back in later today, it was doing the disappearing act again.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5821793#5821793
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5821793#5821793
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5821793#5821793. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Photoshop Elements at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Static VI with Visa serial functions is very slow to display front panel

    THere is a delay time of about 10-20 seconds to "display" the first VI's front panel that has Visa serial functions in the source code.
    All works fine after the first load but the initial delay of the front panel load makes it look like the PC could hang during this time. AFter this other VI's load immediately with no delay. I am concerned because I do not want to have to load a VI manually every time I start the APP which is the only workaround I can do at this time.
    Im wondering if anyone else has seen this kind of behaviour.
    I do not remember this happening until I upgraded my APP to LV7.
    DEll optiplex GX260 with 500MB RAM, Win2k and using N.I PCI-232-16 card w/ LV7 now.
    Attachments:
    RECV_LOOP.vi ‏55 KB

    I would like to resurrect this thread, as I am having the same problem. The problem stems from the VISA resource control on my front panel, because I have many COM ports registered on my system. The last suggestion from Scott B. was to "post the resulting .SPY file and I'll take a look at it". So, here is my .SPY file, and as you can see, it takes far too long. As many of these COM ports were registerd from USB converters, most of them are not actually present at this time on the system. However, even the ports that ARE present take a long time to register (i.e. COM1 is present and shows 3 seconds to register). These COM ports shown in my VISA resource do not correspond to those shown in my Device Manager, nor do they correspond to those shown in MAX under Devices and Interfaces.
    I am using LV 7.0 on WinXP SP2, with VISA version 3.2.
    OK, I just discovered something that mostly cured the delay. When I was getting the VISA version number just now, from MAX in the Software>NI-VISA item, there is a tab "VISA Options", and another tree structure in the middle pane. Selecting "General Settings>Aliases", there was a list of the old COM ports, so I cleared this list and then re-started MAX, checked again, and now only the COM ports shown in "Devices and Interfaces" matched this list (which still doesn't match my Device Manager, but no matter). When I re-opened the LabVIEW FP, it opened quickly, and the ports listed in the VISA resource matched those I saw in MAX.
    At any rate, although I just cured the symptom, the original problem of old aliases in VISA causing unacceptable delay should be fixed by NI.
    David Moerman
    TruView Technology Integration Ltd.
    P.S. the message poster didn't allow my to post a *.spy extension, so here is the *.zip of it.
    Attachments:
    Capture.zip ‏2 KB

  • HT3702 when i purchase with visa card it tell me please contact itunes support to complete this transaction

    when i purchase with visa card it tell me please contact itunes support to complete this transaction please help  me

    Many people are having this same problem. I myself was in touch with iTunes for over a week as well as with my bank (Capital One in this case). For Some reason iTunes has put your debit/credit cards into a "fraud mode". According to my bank representative people have been calling in for about 2 weeks about this, so you and I are not alone at all about this. For me I was able to buy anything as long as it was under $10.00, but anything above gave me the errors you are having. You need to contact your debit/credit card customer service numbers and first make sure that there is no "block" or "cap" on them for iTunes. Then ask them why it is being declined. They may ask you to verrify the city and or state which the iTunes store billing you is in, TELL THEM "CALIFORNIA". Then once you have done everything with the bank you need to contact iTunes Store which is only possible with email (or so Apple has told me), and have them reset the billing and and address information for your account. They will email you back saying that in 30 min...blah blah blah... Basically once they have responded log off from the iTunes store on every single apple device you have: iPhone, iPad, Apple TV, iTunes on your computers, all of them! Then log back in through your COMPUTER and enter all of your information again. This should sove your problem completely. It worked for me.... Good Luck!

  • Hi, i have an other problem, when people will visit my website they couldn't come back to the home page

    Hi, i have an other problem, when people will visit my website they couldn't come back to the home page

    Hello,
    Problem is in Plan mode.
    Please follow the steps below and you should be all set.
    1. Go to Plan View.
    2. Right click on page "ACCUEIL"
    3. Select "Menu Option" > "Include Page with Hyperlink"
    4. Save the file and then try to preview.
    You should be all set.
    Regards
    Vivek

  • I have a problem in hp530 i visit your nearest services center but he take Rs750.but problem is same

    i have hp530 laptop using from 2007 and now my laptop showing error hdd problem(attar 05) i visit your nearest services center in patna sp verma road they take my laptop not solve my problem take Rs.750 as a service charge.laptop showing same problem.
    -With regards,
    Imtiyaz
    {Personal Information Removed}

    Well you need to understand the behavior of h-reap or what it's called now, FlexConnect. In this mode, the clients are still remembers on the WLC until the session timer/idle timer expires. So switching between SSID's in h-reap will not be the same when switching when the AP's are in local mode.
    Take a look at the client when connected in FlexConnect in the WLC GUI monitor tab. Thus will show you what ssid and vlan the client is on. Now switch to a different ssid and compare this. It's probably the same because the client has not timed out. Now go back to the other ssid and look again. Now on the WLC, remove or delete the client and then switch to the other ssid at the same time. Or switch SSID's and then remove the client. The client will join the new ssid and in the monitor tab, you should see the info.
    There is no need to have clients have multiple SSID's unless your testing. Devices should only have one ssid profile configured to eliminate any connectivity issues from the device wanting to switch SSID's.
    Sent from Cisco Technical Support iPhone App

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

Maybe you are looking for