Initializing HP4155B with LW5.5/CVI

Hi all,
I'm trying to establish communication between a PC w/ LW5.5/CVI and an
HP4155b Semiconductor Parameter Analyzer. On the Analyzer, I've set the
GPIB address, and in my test program, I use that address to call the hp415xa_init()
function of the instrument driver. In runtime, I get a GPIB iberr = 6 (for
timeout) after the program tries to execute an ibwrt("*idn?"). I do however
see a "screen-refresh" response on the Analyzer before it times out, which
means that something got there and then hung. I've tried to diagnose the
problem using IBIC and entering commands from there and tinkering with the
settings, but with little avail; all ibwrt's timeout. (I'm also new to the
GPIB interface.)
If anyone out there
is familiar with this instrument driver or can offer
a suggestion as to where to troubleshoot, your help would be greatly appreciated.
Thanks,
David Fang
IDT, Santa Clara
(408) 492-8637
[email protected]

Transitioning from and old, Traditional DAQ application to a newer IDE with DAQmx is a quite complex process that implies a lot of code rewriting, First of all, I would look whether original application can be ported to CVI2012 and Traditional DAQ with the only work needed to have it functional, in order to minimize the time spent in this activity. Additionally, if you are using an old DAQ device you must firstly check whether it can be driven by DAQmx or not.
Nevertheless, if you decide to port your application to DAQmx, here is the first part of a good white paper on this subject that can be very helpful to you. Consider that DAQmx paradigm is very different from Traditional DAQ one: while this saves you a lot of work while developing an application from scratch, it will nevertheless imply a complete reconsidering of all acquisition / generation processes to migrate them to the new standard.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Similar Messages

  • I have a 2008 iMac 21.5" 10.6.8 Snow Leopard with 4.1.3 VMWare and windows 7.Mountain Lion initially refused to down load as I had back up on the HD. this was removed and installation was accepted but froze in the initial stages with 33 mins to go.

    I have a 2008 iMac 21.5" using 10.6.8 Snow Leopard with VM Ware 4.1.3 supporting Windows 7. Initially ML OSX refused to install due to Back up on HD which I removed to trash.It then proceeded but froze up in the initial stages with 33 mins remaining. I was lucky enough to quit and restart using 10.6.8. With all the problems on this chat line, it appears it may be best to leave Mountain Lion well alone, and cut losses rather than tempt fate.Has anybody anything positive to say or help with?

    Welcome to Apple Communities
    1. Open Disk Utility and repair permissions
    2. Open Finder, go to your user's folder > Library > Caches and delete everything
    3. Verify disk
    4. See if your apps are compatible with OS X 10.8 > http://www.roaringapps.com
    You can also do a backup and create a DVD or USB drive to install OS X > http://arstechnica.com/apple/2012/07/how-to-create-a-bootable-backup-mountain-li on-install-disk/ When you start in 10.8 installer, open Disk Utility, select your volume and erase the drive, and install

  • How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something"sign... it just doesn't start the system....

    How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something" sign... it just doesn't start the system....
    Please help
    Marcelo

    If there is no loading bar, it's usually a problem with a third party kext file in OS X itself.
    You can press the power button down to force a hardware shutdown, then reboot holding the shift key down on a wired or built in keyboard, this will disable them and you go around and update your third party software.
    Gray, Blue or White screen at boot, w/spinner/progress bar
    Also take this time to backup your users files off the machine if possible.
    Most commonly used backup methods
    Sometime that won't work and you need to do more
    ..Step by Step to fix your Mac

  • Error in JMS receiver adapter: "Error creating initial context with environment"

    Hello,
    I have some trouble with a JMS receiver adapter (access to JMS-provider with JNDI).
    The message in adapter monitoring is:
    A channel error occurred. Detailed error (if any) :
    com.sap.aii.adapter.jms.api.connector.ConnectorException: Fatal Error looking up connection factoryJMSQueueConnectionFactory, for profile: ConnectionProfile of channel: CC_JMS_RCV_XLIMI00001on node: 503473150 having object id: 5b424f2f79b6350ca636ab35d528cfdd:
    ConnectorException: Error creating initial context with environment: java.naming.provider.url=wcsefdev.example.com:9064; java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory; for profile: ConnectionProfile of channel:
    CC_JMS_RCV_XLIMI00001on node: 503473150 having object id: 5b424f2f79b6350ca636ab35d528cfdd: javax.naming.NoInitialContextException:
    Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory<br> at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createConnectionFactory
    (JndiConnectorImpl.java:152)<br> ....
    Message processing failed. Cause:
    com.sap.aii.adapter.jms.core.fsm.DFA$InvalidTransitionException: No transition found from state: ERROR, on event: process_commence for DFA: CC_JMS_RCV_XLIMI00001:5b424f2f79b6350ca636ab35d528cfdd
    The third party assured me that the specified JNDI parameters are right and everything is configured on their site, so it should work...
    Might there be a problem with the JMS drivers?
    Regards,
    Marcus

    Hi Marcus,
    Have a look at below thread
    Connecting to PI 7.11 JMS Queue from other PI 7.11 Server

  • Error creating initial context with environment

    Hi,
    Currently we are working on a scenarios, where we need to integrate XI and webmethods using JMS.
    It was working fine. But recently they have restarted the webmethods server. After that we re getting an error message like,
    In Adapter Monitoring:
    Channel error occurred; detailed error description: com.sap.aii.adapter.jms.api.connector.ConnectorException: Error creating initial context with environment: {java.naming.provider.url=server:port, java.naming.factory.initial=com.sap.engine.services.jndi.InitialContextFactoryImpl, java.naming.security.principal=XYZ, java.naming.security.credentials=ABC}for profile: ConnectionProfile of channel: CC_RCV_JMS_INon node: 3010950 having object id: ABCXYZ: NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
    at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createInitialContext(JndiConnectorImpl.java:66)
    In RWB
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: No transition found from state: STARTING, on event: process_commence for DFA: C_RCV_JMS_IN:e4413a5265a436459e271d5e0dd4859b
    Can one please tell me what the problem is?
    Thanks in advance.
    Regards,
    Prasad Babu.

    Hi,
    Check this link looks like same problem
    Re: file to JMS(for MQ series)
    Thanks
    Vikranth

  • Initial load with LOBs

    Hi, i'm trying to do an inital load and I keep getting errors like these:
    ERROR OGG-01192 Oracle GoldenGate Capture for Oracle, ext1.prm: Trying to use RMTTASK on data types which may be written as LOB chunks (Table: 'TESTDB.BLOBTABLE').
    ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ext1.prm: PROCESS ABENDING.
    The table looks like this:
    COLUMN_NAME|DATA_TYPE|NULLABLE|DATA_DEFAULT|COLUMN_ID|COMMENTS
    UUID     VARCHAR2(32 BYTE)     No          1     
    DESCRIPTION     VARCHAR2(2000 BYTE)     Yes          2     
    CONTENT     BLOB     Yes          3     
    I've checked and the source database does contain data in the blobtable and both databases have the same tables, so now I have no idea what can be wrong? =/

    For initial loads with LOBs, use a RMTFILE and a normal replicat. There are a number of things that are not supported with "RmtTask". A "rmtfile" is basically the same format as a 'rmttrail' file, but is specifically for initial loads or other "captured" data that is not a continuous stream. And make sure you do have a newer build of GG (either v11 or a latest 10.4 from the support site).
    The 'extract' would look something like this:
    ggsci> add extract e1aa, sourceIsTable
    ggsci> edit param e1aa
    extract e1aa
    userid ggs, password ggs
    -- either local or remote
    -- extFile dirdat/aa, maxFiles 999999, megabytes 100
    rmtFile dirdat/aa, maxFiles 999999, megabytes 100
    Table myschema1.*;
    Table myschema2.*;
    Then on the target, use a normal 'replicat' to read the "files".
    Note that if the source and target are both oracle, this is not the most efficient way to instantiate the target. Using export/import or backup/restore (or any other mechanism) would usually be preferable.

  • HT4009 What is the problem if there is an error in initiating purchse with iTunes?

    Initializing purchse with iTunes is a frequent dialogue box coming out whenever I make purchase of items/characters or gems from the Skylnders Lost Islands game.

    What does the message say ?
    If you are getting a message to contact iTunes Support then you can do so via this link and ask them for help (we are fellow users here on these forums) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's a different message ... ?

  • Slow initial association with WRT54GS w/WRE54G

    I have 2 laptops and both are having problems with initial association with the WRT54GS and WRE54G.
    I had some initial problems with the WRE54G but have fallen back to a default install with no security for troubleshooting.
    However even with this default install, both laptops will do the initial attempt to associate with my SID, fail to acquire IP, and then grab an IP about 2 minutes or so after failure.
    Does anyone have an idea as to what would cause this and how do I speed up the acquisition of a valid IP?
    Thanks,
    GimmeFive

    I'm new here, too, and looking for solution to exact same problem. Starts at 54 mbps and then very quickly drops down to 11 then 2 then 1!  I've done no updates or changes since buying it.  I have V7.2.  My very old D-Link 524 worked better than this!  Sure hope someone has a solution. Keep in mind that I don't know what all the special language is, and since I work 60 hrs per week at 3 businesses, don't have time for much more than I'm doing.  So hope you explain VERY clearly what needs to be done if you have a solution.  Thanks so much for any help to any of us... : )

  • Initial issues with PS CS4 Extended Windows XP Pro.

    Initial issues with PS CS4 Extended Windows XP Pro.
    CS3 worked just fine but had many issues with Bridge CS3. So frustrating that the $$ to upgrade to CS4 seem worth it. Mostly works OK with the following exceptions:
    1. Sometimes the file menu selections are non-selectable grey including fundamental functions like Open and Exit not even clicking on the x will allow PS to close! I found a workaround, I can select a tool that is not currently selected (like the crop or brush) and now the menu items appear.
    2. The Arrange Documents drop down menu is blank except for the lower text portion. All icons are missing. Roll over text popup shows what is supposed to be on the menu but no icons.
    3. I have setup Bridge CS4 to auto start at logon. Works OK but sometimes for whatever reason stays busy after I close. Task Manager shows Bridge using up to 25% of CPU time and the program is not even open!
    5. I purchased a couple Canon EOS 50Ds as backup cameras for our business. Worked last week with CS3 and Bridge with Raw 4.6 upgrade. Does not work with RAW 5.0 in CS4bummer!

    I had the same problem with blank/missing "Arrange Documents" icons. And I use NIK and OnOne plugins (CS4 & Vista). These plugins are all supposed to be compatible with CS4 and I use them ALOT - so I refused to remove them. Today I also started having a problem with an error re: needing to install a printer before I could select print functions.
    I found the answer to both problems!! While researching the error message I found information from Adobe support stating that you should:
    1. Quit Photoshop
    2. Vista: Rename the Users\[username]\AppData\Roaming\Adobe\Adobe Photoshop CS4\Adobe Photoshop CS4 Settings\Adobe Photoshop CS4 Prefs.psp file to Adobe Photoshop CS4 Prefs.old
    Windows XP path: Documents and Settings/[username]/Application Data/Adobe/Adobe Photoshop CS4/Adobe Photoshop CS4 Settings/Adobe Photoshop CS4 Prefs.psp
    3. Start Photoshop - it will create a new preferences file.
    My print error message is gone AND I have Arrange Documents icons!!!

  • Calls have been dropping out mid-call (after initially working) with full reception since upgrading my iPhone 4 to iOS5 (can hear them but they can't hear me).

    Calls have been dropping out mid-call (after initially working) with full reception since upgrading my iPhone 4 to iOS5 (can hear them but they can't hear me). The call initially works but then after a minute or so, they stop hearing me, even though I can hear them. Sometimes it goes the other way and I can't hear them.
    Please advise how to remedy ASAP.

    PS: I have had full reception bars when this has occured on a 3G network in Sydney, Australia (3 Mobile).

  • Initial startup with question marked folder with a disk already inside

    Initial startup with question marked folder with a disk already inside

    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • I have a new iphone 5s with ios 7 , I cannot pair with the bluetooth in my BMW with idrive , can anyone help . My old iphone 4 worked fine , however this was initially paired with older software , but still worked after the upgrade

    I have a new iphone 5s with ios 7 , I cannot pair with the bluetooth in my BMW with idrive , can anyone help . My old iphone 4 worked fine , however this was initially paired with older software , but still worked after the upgrade . I have tried & tried to pair again & that wont work either , suggesting it is the phones software . Can anyone help please

    Hi there soulboycraney,
    You may find the troubleshooting steps in the article below helpful.
    iOS: Troubleshooting Bluetooth connections
    http://support.apple.com/kb/TS4562
    iOS: Troubleshooting car stereo connections
    http://support.apple.com/kb/ts3581
    -Griff W. 

  • Intermittent problem with TestStand calling CVI DLL calling MSCV DLL

    Sorry about cross post, but I am not sure which group is best to address
    this issue.
    Setup:
    Windows 2000 SP1
    TestStand 2.01f
    CVI 6.0
    MSVC++ 6.0 SP5
    Problem:
    I have a CVI Test Library DLL that contains test functions called by
    TestStand using the C/CVI adapter. The CVI Test Library DLL in turn makes
    several calls to another DLL written in MSVC++. I am experiencing an
    intermittent problem with one of the MSVC functions. The problem ~appears~
    to be stack related, but I am not sure. Among other things, this MSVC
    function accepts a const char * argument that is a TestStand lookup string.
    The function uses this string to access the TestStand API.
    What happens is this: Everything works fine. I then recompile the CVI DLL
    after making some mod, then run. The MSVC++ DLL asserts that the const char
    * arg passed by the CVI DLL is NULL. However, this is not the case if I
    single step through the CVI code. It has happened both with passing
    variables as the const char * argument and as hardcoded strings literals, so
    its not that I am actually passing NULL. The other argument to this
    function is the TestStand sequence context dispatch pointer (LPDISPATCH
    pobjSequenceContextDisp) and it always ~appears~ to be passed correctly.
    The problem is frustrating and hard to debug because I can not
    deterministically reproduce it. The problem ~never~ appears when I debug my
    MSVC++ DLL in Visual Studio. And it only occasionally appears otherwise.
    The problem, when it appears, always appears on the first run after
    recompiling the CVI DLL, though the problem does not happen after ~every~
    recompilation. I'd say it happens 1 in 6 times after a recompile.
    Recompiling the exact same code does not always make the problem disappear.
    If I change the CVI code (code that has nothing to do with the argument
    itself though) and recompile the problem almost always goes away. Selecting
    'Mark all for compilation' and rebuilding does not make the problem go away.
    Only tweaking the CVI code and recompiling does (usually).
    Whats more, the problem appears:
    * With the CVI DLL built as Debug or Release mode.
    * With the CVI default calling convention set to __stdcall or __cdecl.
    * With the C/CVI TestStand adapter set to run in-process or external
    instance of CVI.
    The problem appears to be some sort of stack or argument passing problem
    between CVI and MSVC, though thats just a guess based on the symptoms. I
    have quadruple checked the calling conventions of all declared functions.
    The CVI DLL functions all use TX_TEST (which resolves to __cdecl). The MSVC
    DLL functions all explicitly use __stdcall. Is there a problem with calling
    __stdcall MSVC functions from a __cdecl CVI function?
    I can find no other memory leaks or indications of memory corruption
    elsewhere in either the CVI or MSVC DLLs. Its only this one function that
    exhibits this strange 'null const char *' problem.
    Can anyone offer any ideas about what may be causing this problem? Anything
    else I should check/verify?
    Regards,
    Joe

    Silvius,
    > Although I'm not sure if any of the following are the real cause of
    > your problem, I have the following suggestions:
    Thanks for the reply. At this point any and all suggestions are welcome...
    > 1. There could be a problem with calling
    > __stdcall MSVC functions from a __cdecl CVI function. As a workaround
    > wrap the _cdecl call inside a _stdcall call that is exposed or
    > exported to TestStand or vice-versa. This can be a problem because if
    > _cdecl is used, the calling function is responsible for cleaning up
    > the stack and if _stdcall is used, the called function is responsible
    > for cleaning up the stack.
    I was under the impression that as long as everything was explicitly and
    consistently declared, you could safely mix cdecl and stdcall f
    unction
    calls. Is it bad to do this? Is this a known issue with the CVI compiler?
    I've never seen a problem with doing this under MSVC++.
    I'll try wrapping them in cdecl calls for CVI - though we have a
    depressingly large number of stdcall functions in the MSVC DLL ;-). They
    need to remain stdcall in the DLL because we also call them from Visual
    Basic.
    > 2.Don't mix Debug version of one DLL with the Release version of the
    > other DLL. I had some bad experiences doing this and both DLLs where
    > developed in MSVC. Allways use either Debug either Release versions of
    > DLLs.
    I verified that the MSVC DLLs were either ALL Debug or Release. I too have
    seen nasty problems when MSVC Debug and Release is mixed.
    One thing I had not thought of until your reply: What about mixing CVI Debug
    DLLs with MSVC Release DLLs? Have you ever seen issues with doing this?
    Thanks!
    Joe

  • Initial load with CDC

    I am now able to replicate changes made on the source table and make the changes visible on the staging site, now I have two questions:
    1.) how do I manage the initial load of the source table.
    The table as object gets replicated as an empty table, after the first change on the source table the changes are beeing replictated, but not the whole contents of the table.
    2.) how do I manage to apply the changes to target table ?
    I have the changes in the change view but with a.) all the additional columns, ending with a $-sign and b.) only the changed values, if the modification was an update-operation.
    rueisel

    Hi Rueisel,
    1. before starting replication, initialiaze yours destinations tables with DataPump. You can create a scripèt based on impdp/expdp ou write a PL/SQL package around DataPump API (not very difficult and well documented)
    2. To propagate the changes from the Changes tables to the Destination tables, you have to write your own solution. The main principles is to
    create a job that read the Changes Tables and update the Destination tables (use merge statements). The job can be stored on the Destination database or staging one. A database link must be created between Destination and staging database.
    Warning: If you have to propagate some clobs/blobs objects, you have to create a specifc solution because you can not access them throught a database link.
    I hope it's help,
    Cyryl

  • Building a dll with labview for CVI

    Hi,
    I am making some abstract hardware layers for some instruments and i use to work with Labwindows CVI. But i have found ONE instrument, the Instek pst3201 alimentation which is ONLY created with Labview.
    So i downloaded the 8.6 LV demo and builded the llb projet in order to obtain some .dll, .h and .lib files and included it to a CVI project in order to construct an intermediate Dll level.
    Everything builds fine, like usually when i use an IVI driver but my problem is that when i try to call this intermediate Dll level with my abstact hardware layer using LoadLibrary, nothing is returned like if the DLL doesn't exist.
    So my question is : Do you think that this is a problem from CVI (and i repeat that i have made a lot of others abstract hardware layers using IVi drivers except that this time i haven't got any .fp or .c but  a .h and i include the .lib to the project), or a problem from Labview and i should use the LV Application builder if it's different ?

    Hi,
    It's seems that you have no exported function. What function do you have in your header file? did you tryed to create a really simple dll (doing an addition for example ) in LabVIEW only to verify that you are correctly creating the dll?
    Manuel R
    AE dans une autre vie

Maybe you are looking for

  • Installing WIndows XP

    I am able to run Boot camp and after I insert the WIndows XP service pack it runs through the formatting bit ok. When it starts to copy files I get an error message that 'installer cannot copy' some random file i can retry a few times but it never wo

  • Orientation of Still Images Wrong in Premiere?

    As many users of various Adobe programs, have had issues with Still Images, that were shot in Portrait Mode, but when rotated in PrE's/PSE's, Organizer, or Adobe Bridge, find that the Images do not Import in the correct orientation, I wanted to addre

  • SQL Developer not launching / W error Screenshots

    Okay I'm a student in belgium. and i'm studying ICT. We are learning pl SQL with Oracle. Last week we had to use SQL Devloper, Now here comes my problem. I am pretty new at all this. But SQL developer doesn't launch at all!. I tried versions with and

  • Best wireless headphones for 5G?

    I want to get wireless headphones for my 5G iPod. There seem to be three models from Logitech - the black ones, the white ones (more expensive for some reason), and the new "Free Pulse" with the stronger headband section. From what I have found, you

  • Adobe Muse ''websafe'' please help!

    Hi, I need your help, of all themes I found ''websafe'' is the best one for my site. BUT I found that this theme is with ''layers'' like photoshop, I really hate photoshop!, Is there any way to get ''websafe'' like it was illustrator (without layers?