NI-VISA 64bit版WindowsでのSRQイベント取得について

NI-VISAを使用して、VXI-11対応の計測器とTCP/IPで接続するアプリケーションを作成しています。
SRQをイベントで取得するため以下の処理をしています。
string ResourceString = "TCPIP0::xxx.xxx.xxx.xxx::inst0:INSTR";  // xxx.xxx.xxx.xxxはIPアドレス
MessageBasedSession Session;
Session = (MessageBasedSession)ResourceManager.GetLocalManager().Open(ResourceString);
Session.ServiceRequest += new MessageBasedSessionEventHandler(OnServiceRequest);
Session.EnableEvent(MessageBasedSessionEventType.ServiceRequest, EventMachanism.Handler);
32bitのWindowsでは正常に動作していたのですが、64bitのWindowsでは
EnableEventで エラーコード-1073807265 が発生してしまいます。
64bitのWindowsでSRQをイベントで取得する方法を教えてください。
動作環境
 NI-VISA runtime 4.6.2
 Windows7 (32bit/64bit)
開発環境
 WindowsXP
 MeasurementStudio2008 C# .NetFramework3.5
よろしくお願いします。

c_s 様
平素よりNI製品をご利用頂きまして誠に有難うございます。
日本ナショナルインスツルメンツ技術部 池田英広と申します。
このエラーは、指定したVISAアドレスにリスナがいないという意味 で、
正しくないアドレス(たいていはGPIBアドレス)を指定した時に起こります。
このため、「32bitのWindows」と「64bitのWindows」それぞれでの
GPIBの設定(リソース名の設定など)を再度ご確認ください。
お手数をおかけしますが、よろしくお願いいたします。
+---+---+---+---+---+---+---+---+---+---+---+---+
日本ナショナルインスツルメンツ株式会社
技術部  池田 英広
弊社のサポートに関する情報は以下のサイトをご覧ください。
 http://www.ni.com/support/ja
技術データベース: http://www.ni.com/kb
お問い合わせフリーダイヤル  0120-527196
+---+---+---+---+---+---+---+---+---+---+---+---+

Similar Messages

  • HP Photosmart Premium c309g wireless network printing problem with 64bit Windows 7

    A problem exists where the c309g is installed on a wireless network where one of the PCs on the network is running 64bit Windows 7.  Amongst other things, the printer may print very slowly, appear disconnected or unavailable through the HP Solutions Centre and may not be pingable from any of the PCs on the network.  The problem will affect ALL the PCs on the network !
     Network monitoring software will also show an enormous level of network traffic between the printer and the Windows 7 PC.  As soon as the Windows 7 PC is switched off, everything returns to normal. 
    The problem is solved by disabling the HP Network Devices Support Service on the Windows 7 PC as follows;
    Run services.msc from the Run command on the Windows 7 PC.  This will display the list of all the local services running on the PC together with Description, Status and Startup Type information for  each.
    Scroll down the list until you see the HP Network Devices Support Service.
    Right click on it and select Properties to bring up the Properties window.
    Use the dropdown list to Change the Startup Type to Disabled.
    Once disabled, the printer will start to work normally.  HP are aware of this problem which may be unique to the 64bit version of Windows 7.

    Thanks but no luck... I tried it..... Got back from son's baseball game.. checked on printer - as in tried to have printer print something... nothing...   prior to going out I went ahead and deleted the 6  c309 print devices and reinstalled a new one and got the printer to work...  after the game it was back to ignoring print commands...  When I go to printers there again are 6 print devices for this printer - one titled HP Photsmart Premium C309 g-m... then 4 copies of that and then one version titled HP0AC58C (HP Photosmart Premium C309g-m).
    As I just finished writting that... the printer came alive and started printing some previous jobs... so maybe it helped - not sure but what about the 6 versions of print devices?   I just checked the statuses of all the versions and the default is offline... the various copies have different amounts in que but have a pending status of pending deletion...  When I tried to make one of the other copies the default printer - it errors out with  0x00000709

  • WIndows 8.1 64bit, Windows Installers stalls with any install, updates or third party programs.

    WIndows 8.1 64bit, Windows Installers stalls with any install, updates or third party programs. Third party program installations work if I restart in safe mode. Updates don't as they cannot be installed in safe mode and require normal mode.
    Been happening for months now. Some installations after a long time finally proceed, others dont. 
    Already trying uninstalling antivirus (Bitdefender) with no result.
    Thanks

    Hi,
    Could you check this issue under clean boot?
    Also try this fix tool it repair corrupted registry keys.
    https://support.microsoft.com/en-us/mats/program_install_and_uninstall
    Regards,
    D. Wu
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Function sequence error. in 64bit Windows 2008 Server.

    Hi All,
    Pardon me if the posting is not in the correct group.
    I am migrating my application from 32bit(Windows 2003 Server) to 64bit (Windows 2008 Server R2).
    I am getting the following while trying to execute a SQL command
    Encountered ODBC error -1: S1010, 0, [Microsoft][ODBC Driver Manager] Function sequence error .
    Basically internal function call is SQLExecute() function call. This works perfectly for Windows 2003 Server 32bit. I tried the command execute at the background from the command prompt and it is working.
    I checked the squence of call.We have two consecutive SQLBindParameter function call and then we call SQLExecute. Is this sequence incorrect in case of 64bit? I also checked the return code given by SQLExecute which is 99.
    Any help or suggestion would be very much appreciated.
    Thanks,
    -R

    Hi Teun,
    Yes i have build the addon & installer with x86. I am using Interop.SAPbouiCOM.dll ,  Interop.SAPbouiCOM.dll, System.dll , System.XML.dll.
    I have not specified the relative path in code as such but iam loading my forms Load batch action i don't know if it ok in this scenario or not.
    Building the Solution/Project is Successful without any warning.
    While debugging it on my server it gives the same error "Object Reference Not Set to an Instance of an Object".
    Debug Out put last errors are as follows:
    A first chance exception of type 'System.IndexOutOfRangeException' occurred in mscorlib.dll
    'TAMPA800.exe': Loaded 'C:\Windows\SysWOW64\sxs.dll'
    First-chance exception at 0x76afe124 in TAMPA800.exe: Microsoft C++ exception: EEMessageException at memory location 0x0036ecec..
    A first chance exception of type 'System.IO.FileNotFoundException' occurred in TAMPA800.exe
    A first chance exception of type 'System.NullReferenceException' occurred in TAMPA800.exe
    The thread 'Win32 Thread' (0x460) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xdb8) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xfdc) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xfb4) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xdc8) has exited with code 0 (0x0).
    The thread 'Win32 Thread' (0xe04) has exited with code 0 (0x0).
    The program '[3872] TAMPA800.exe: Managed' has exited with code 0 (0x0).
    The program '[3872] TAMPA800.exe: Native' has exited with code 0 (0x0).
    Regards
    John

  • When I try to install adobe photoshop 13 on my computer it comes up with the following error message " This installer does not support installation on a 64bit windows operating system" error code 6. How to I recify this? TIA

    When I try to install adobe photoshop 13 on my computer it comes up with the following error message " This installer does not support installation on a 64bit windows operating system" error code 6. How to I recify this? TIA

    You can try downloading the 64 bit version.  You can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    Photoshop/Premiere Elements 13: http://prodesigntools.com/photoshop-elements-13-direct-download-links-premiere.html

  • Acrobat Pro 9 Used To Work on my 64bit Windows 7 machine

    I recently replaced my 32bit XP platform which was running with Acrobat Pro 9 for a few years with a 64bit Windows 7 earlier this year. It worked just fine. For some reason, I am now finding that trying to 'actuate' the program fails. As does clicking on  a PDF file name. Acrobat Reader works OK but not "Pro". I uninstalled it and reinstalled it. I went to their website and painstakingly installed upgrade on upgrade from the earlier to the 9.5.5 current one. Still no cigar. Anyone have a clue? 

    uninstall.
    run the cleaner, http://labs.adobe.com/downloads/acrobatcleaner.html
    restart your computer.
    right click the setup file and click "run as administrator".

  • When i want to install iTunes, it show that Gathering Qiucktime information...Please helppp me i need iTunes to sync my apple devices, i have 64bit windows

    When i want to install iTunes, it show that Gathering Qiucktime information...Please helppp me i need iTunes to sync my apple devices, i have 64bit windows.Thanks

    You are probably running OS 10.4 or 10.5 on a PPC Mac.  No version of  iTunes higher than 10.6.3 is available for these older Macs.  I have the same problem, and while I can still use the PPC to sync my iPod, it can't be used to sync an iPhone 4 or higher.  The only solution, as I discovered after upgrading to the iPhone 4, is to buy a newer Mac.  I was able to get a 2006 MacBook running Lion for under $300, and that has been a lifesaver.

  • Oracle Enterprise Edition Release 11.2.0.1.0 - 64bit Windows based patches

    Hi,
    We have Oracle Enterprise Edition Release 11.2.0.1.0 - 64bit Windows based server. I want to download latest patches for this version. From where can I get this? Please help me.
    Thanks,
    Mangesh

    Hi;
    1. Patch can be download only from metalink
    2. All related patch number can be found:
    NOTE:430449.1 - How to find DB Patches for the Microsoft Windows platforms My Oracle Support
    11.2.0.x Oracle Database and Networking Patches for Microsoft Platforms [ID 1114533.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Capitvate 8 for 64bit windows downloaded, but "install now" button in akamai downloader has no effect. How to install?

    Capitvate 8 for 64bit windows downloaded, but "install now" button in akamai downloader has no effect. How to install?

    check your computer or, if you don't know how to search for files, redownlload:
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3 | 2.7(win),2.7(mac)
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
    window using the Lightroom 3 link to see those 'Important Instructions'.

  • Oracle application 10.1.2.0.2 on 64bit windows 2003

    hi all,
    i have gone through the metalink certify column- it speaks that you can install BI and forms on windows 2003 0s 64bit with oracle application server 10.1.2.0.2 but without infrastructure.
    Does that mean we will not be able to use OID and management repository which we are using for synchronization with the windows active directory. will i be able to use oracle discoverer???
    will my forms requires some modification while going for 64-bit windows???? is there a separate 64bit oracle 10.1.2..0.2 application server software or the same that is used with 32 bit windows can work??will it solve my memory problem to use more than 4GB if i use
    The same oracle AS that i have been using for 32 bit windows 2003 with the 64bit windows 2003 also .
    Any suggestions for These queries
    Thanks and Regards
    Manish
    [email protected]

    Hi Milan;
    I have configured Oracle Discoverer 10.1.2.0.2 upgraded its version using patch 5983622 on our Production server(227) that has forms and web on it.
    Now we also have production server(228) that has forms and web on it and we want to configure the Oracle discoverer 10.1.2.0.2 on 228 server .
    With same url that has been deployed on 227 server(ie:http://idfcstandby.idfc.com:7777/discoverer/plus)
    I am little confused with your words production server(228) production server(227) but if you meant you have one discovered server and you want to use it wiht same link on both server than yes its possible. Wiht one disco installation you can use same link more than 1 server
    Regard
    Helios

  • HT1926 This version of itunes is meant for 32bit windows not 64bit windows. Please download 64bit.

    Ok so I have downloaded it on three different browsers and disabled popup blocker and restarted and this is still coming up with this version is meant for 32 bit windows, please download 64bit windows version. how do i fix this?

    Kinda obvious but are you downloading the 64bit version of iTunes for Windows as noted at the bottom of the iTunes download page?
    -> iTunes 10.6.1 for Windows (64 bit)

  • Upgrade from 10.2.0.1 32bit to 10.2.0.4 64bit windows

    This scenario i have planned to make an attempt of my own..
    1) Plan to Migrate existing database from ( 10.2.0.1 ) 32bit to (10.2.0.4) 64bit database
    2)Existing DB is No archive mode,
    3)OS windows server 2003 Enterprise sp 2(32 bit)
    Migrate DB config
    1)Os windows server 2008 Enterprise 64 bit
    I need help from oracle gurus!!! how to migrate existing DB Upgrade from 10.2.0.1 32bit to 10.2.0.4 64bit windows
    1)how to take backup?
    2)how to upgrade oracle version?
    3)proper step to follow completed this task successful
    For database migration and upgrade activity...
    share your suggestions please
    Regards,
    Venk@t

    How big is the database ? How much downtime can you afford ? One option is to install 10.2.0.1 on the target, apply the 10.2.0.4 patch, create an empty instance on target, then export the database from the source and import into target.
    Pl be aware that 10.2.0.1 thru 10.2.0.4 are on sustaining support and 10.2.0.5 is on extended support (if you have paid the extended support fees). Why not upgrade to 11gR2 ?
    HTH
    Srini

  • Can I add a bluray player to a 64bit windows 7 Pavilion a6547c?

    Can I add a bluray player to a 64bit Windows 7 Pavilion a6547c?

    Hi,
    Yes you can add a Blu-ray player to your PC.  I recommend that you consider an external player so that you and move and connect it to other PCs.
    NewEgg has many external Blu-ray players.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • Can I run OAS in 64bit Windows 2008?

    I'm going to install the OAS in our 64bit Windows 2008 for evaluation, however, both the x86 and win64 file cannot be installed.
    The following message is prompted when we attempt to install the win64 version:
    The version of this file is not compatible with the version of Windows you're running.  Check your computer's system information to see whether you need an x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
    And the following message is prompted inside a DOS prompt when we attempt to install the x86 version:
    Checking operation system version: must be 5.0, 5.1 or 5.2 .   Actual 6.0    Failed <<<<
    Existing Oracle Universal Installer, log for this session can be found at C:\.......
    We can only install the OAS in a Windows XP workstation, does it mean that we have to use a Windows XP workstation as production server?
    May I know if there has any OAS download for 64bit Windows Server 2008?

    Not exactlly. Maybe it's certified now, but still cannot install.
    According to the update:
    1. Windows 2008 is supported with patchset 10.1.3.4 or higher. Before applying the 10.1.3.4 patchset, customers must first install the base 10.1.3.x products using the following patches:
    . 10.1.3.1.0 SOA requires patch 6712338 (http://updates.oracle.com/download/6712338.html)
    . 10.1.3.2.0 WebCenter requires patch 6971010 (http://updates.oracle.com/download/6971010.html)
    . 10.1.3.x Companion CD requires patch 7129052 (http://updates.oracle.com/download/7129052.html)
    . 10.1.3.x Companion CD ASG Install requires patch 7129469 (http://updates.oracle.com/download/7129469.html)
    . 10.1.3.x Companion CD Failsafe Install requires patch 7191497 (http://updates.oracle.com/download/7191497.html)
    Additional notes for Windows 2008:
    . The patches listed above apply to both 32 and 64 bit versions of Windows 2008.
    . Please review the release notes on http://download.oracle.com/docs/cd/E12524_01/relnotes.1013/e12523/install.htm#sthref7 for the 10.1.3.4 patch set for known issues for Windows 2008.
    But....
    1. 10.1.3.4 still not avaialble for direct download, you have to download 10.1.3.x then apply the patch. But the download of 10.1.3.x cannot be installed, how can we apply the patch?
    2. You cannot download the patch without Metalink account (maybe, it's not for evaluation at this moment)
    So, it still have to wait until the full package of 10.1.3.4 or above is available for direct download.

  • Report can't be saved and exported in 64bit Windows server

    Hi,
    I'm using CR.NET runtime 12 SP2 and developed in Visual Studio 2008 (.NET 3.5)
    My application is generate report from blank report file and export to PDF file as web response.
    my code is working good in my 32bit Windows 2003 OS, but it is not working in 64bit server env even though I made my code as 32bit COM+ component. (I set x86 as compile constants and made as COM+ component. So, code will run in 32bit process)
    error message is like this.
    CrystalDecisions.CrystalReports.Engine.DataSourceException: Failed to load database information.
    Error in File blank {B3200B10-7AFA-441F-9CC5-F970C12440F6}.rpt:
    Failed to load database information. ---> System.Runtime.InteropServices.COMException (0x800002CD): Failed to load database information.
    Error in File blank {B3200B10-7AFA-441F-9CC5-F970C12440F6}.rpt:
    Failed to load database information.
       at CrystalDecisions.ReportAppServer.Controllers.RowsetControllerClass.CreateCursor(ISCRGroupPath GroupPath, RowsetMetaData MetaData, Int32 Reserved)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.SaveAs(String filename, Boolean saveDataWithReport)
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.SaveAs(String filename, Boolean saveDataWithReport)
       at SAP.POA.BUI.Application.Print.BUIPDFGenerator.printDoc(PrintDocDTO doc, Byte[] xsd, Byte[] xml)
    error message said error occurred in ReportDocument.SaveAs method. but what i want was actually export to PDF using export methods. but same error occurred. So, i tried to save report temporarily and print to PDF. but failed again. what else i can do? exporting to PDF is not possible in 64bit server even code run in 32bit COM+ process?
    any help or idea will be welcomed. Thanks.

    HI,
    I followed all instructions.
    I compiled as X86 and made classic app pool as 32bit IIS application.
    So, w3wp.exe is now running ilike this "w3wp.exe*32"
    but same error happend again.
    System.Runtime.InteropServices.COMException (0x800002CD): Fehler beim Laden der Datenbankinformationen.
    Fehler in der Datei blank {05AB1B7A-F5C8-48D6-B747-849B336B57B6}.rpt:
    Fehler beim Laden der Datenbankinformationen
       at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.Export(CrReportExportFormatEnum exportFormat, Int32 Reserved)
       at SAP.POA.BUI.Services.Webservice.Printing.BUIPDFGenerator.printDoc(PrintDocDTO doc, Byte[] xsd, Byte[] xml) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\prs\BUIPDFGenerator.vb:line 95
    exporting to PDF is not possible in 64bit server? same code is working good in 32bit windows 2003 server. but it failed in 64bit Windows 2008 server...
    is there any workaround?

Maybe you are looking for

  • Check for null

    Hi, Iam checking a id which is long, for null value. Checked for isNull( head.getEmpId()) but it throws me a error "The method isNull(long) is undefined for the type." I also tried it with == and .equals. Not sure about the error. Could you please he

  • Lenovo G50-30, Windows 8.1, Boot Probleme, ACPI

    Hallo zusammen, habe mein G50-30 mit Windows 8.1 Pro, 64bit laufen. Leider ist es der Fall, dass es beim starten teilweise, nicht reproduzierbar zu Verzögerungen kommt. Teilweise muss ich das Gerät durch 3-4 Sekunden druck der Power-Taste abschalten

  • Zen Touch E

    Im planning to buy the zen touch 20gb, however i noticed that no where does it say that it has EAX settings like zen extra has. Will there be a firmware for zen touch to support eax and also which battery is compatible with the zen touch? is it the s

  • Photoshop not coming to front?

    I couldn't find this problem with the search feature so bear with me if this has already been discussed. Browsing in Bridge I double click a CR2 file and it opens in ACR. I click Open Image and Photoshop CS5 loads in the forefront and the image is op

  • User Java-Mapping Call SAP-Mapping

    Hello to all, I've created a userdefined JAVA-Mapping (Everything works fine). Is it possible to execute a SAP-default JAVA-Mapping in the userdefined JAVA-Mapping. Are there any blogs about that? I haven't found any yet. Thanks for your help. Regard