How do I fix an "INVALID_R​EFNUM" error from DDE check?
I'm controlling a power meter with LabView using DDE. When I try to read the power with DDE advise check, I get an "INVALID_REFNUM" error. The refnum looks like a random 8 digit number. It comes from a DDE advise open icon, which takes a conversation refnum and outputs an advise refnum. The advise refnum is then wired through a shift register to go into DDE advise check. I have ensured that the number cooming out of DDE advise open is the same one that goes into DDE advise check. What can I do to fix this error?
There could be several problems here. First and foremost, the DDE driver might be hosed or might be buggy. Is there any particular reason you're using DDE to talk to an instrument? If the device uses a standard interface (serial, gpib, ethernet etc) it would probibly be easier--and more robust--to write the drivers yourself.
Second, are you trapping errors coming from the DDE Open function. If not you might be getting an error and don't know it.
Third, there might be some other related logic that is causing the problem and is pointing you in the wrong direction. Try writing a very simple VI consisting of an open, the check and a close. Nothing else, strip out all the extraneous logic or code. See if that works.
Another way of testing the DDE is to try c
alling it from a different environment such as Excel.
Hope this help...
Mike...
"...after all, He's not a tame lion..."
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Similar Messages
-
How Can I Fix A QuickTime Codec Error?
How Can I Fix A QuickTime Codec Error?
I have several movies from 2008 that are labeled as .mov but I now get a QuickTime error saying "The document "XXXXXX" could not be opened. A required Codec isn't available."
These movies ran in QuickTime just fine until about a month ago.
All the folders in which these movies were stored in 4 folders in 2 folders in one folder. All folders at each level were encrypted with Stuffit Deluxe a version circa 2008 and decrypted with a newer Stuffit Deluxe 10.x. Other movies that are NOT .mov and in with the .mov movies still run.
If I click on the Thumbnail Preview "It" runs.
How can I fix this?
TOP image is the Error message.
BOTTOM image is the Thumbnail Preview info.
I've checked out "Tell Me More" and have not found a solution.How Can I Fix A QuickTime Codec Error?
The basic work flow is to determine which codecs were used to create the non-playing file and then check to see if these formats are supported by your current system codec component configuration.
If the files will open in one of the QT player app, the open the inspector window to see which codecs were used to create the original file as seen here...
or here in the "Format" entry...
Or, if you have QT 7 keyed for "Pro" use, you can open the "Properties" window to gain even more information as demonstrated here...
if you file will not open in either of the QT Player apps, then you can try opening the Finder "Get Info" window for the file,
use a third-party media player that will open the file, or
use a dedicated media information utility to learn this information....
Once you know what codecs were used to create the file, post back with this information so we can deterine if the file should be natively supported by your Mac OS X install, requires an Apple Pro editing codec normally installed by the editor app, or requires a third-party codec which the user must supply.
These movies ran in QuickTime just fine until about a month ago.
All the folders in which these movies were stored in 4 folders in 2 folders in one folder. All folders at each level were encrypted with Stuffit Deluxe a version circa 2008 and decrypted with a newer Stuffit Deluxe 10.x. Other movies that are NOT .mov and in with the .mov movies still run.
Your information does not indicate whether or not the files actually played on the current system or were transferred from a different system which was properly configured for playbac, whether or not you recently upgraded your operating system/modified your codec component configuration by adding or deleting any codecs, whether your compound "Stuffing" of the files created corruption, etc.
As to MOV files the selves, this extension just implies the data was placed in the QT generic file container and the actually data could be of any compression format thathat was compatible with the codec component configuration for the system on which the files were created and could include natively supported system codecs, pro editing codecs, and/or third-party proprietary or hybrid codecs. (I.e., this is why we may need more information regarding the individual non-playing files.)
If I click on the Thumbnail Preview "It" runs.
f you are referring to QuickLook (QL) then the technology is different than QuickTime (QT). In the former case, the system is playing representative data but not actually opening the file as QT does. Thus, there is always the possibility that the problem is in the file structure (atom) information. For instance, suppose someone merely changed the MOV file extension in the Finder rather than actually copying data to a real MOV file container. Then it is possible that the QT player app may be searching for a codec that is not supposed or expected to be supported in the MOV file container and, not finding it, issues the erroneous codec error message—especially since you did not inticate the source of the file you are trying to play or, in some cases, which QT player is now not playing the file.
In short, there are several possibilities here and not enough specific information. -
How do I fix the iTunes system error 7 windows error 126?
How do I fix the iTunes system error 7 windows error 126?
Sorry to hear about that
Certainly hope this assists you:
≈≈≈≈≈≈≈≈
https://discussions.apple.com/docs/DOC-6562
≈≈≈≈≈≈≈≈
Please do respond with results/questions. -
Hi everybody !
AT&T company is unlocked (factory)my iphone4 before 3 days ago so i want to restore to unlock iphone 4 with itunes but it is not restore.
How can I fix this type of error in iphone 4?- "The iphone could not be restored. An unknown error occurred (3194) "
please help me in nepali language(if posible) or english. thank you.http://support.apple.com/kb/TS3694#error3194
This means that either your firewall/antivirus is blocking access to Apple's servers, or you have used your computer to jailbreak an iDevice in the past. The link above tells you how to resolve this issue. -
How do I fix a "medium write error" when I try to burn a MP3 CD?
how do I fix a "medium write error" when I try to burn a MP3 CD?
Thanks,
JackieFirst, update your Mac OS 10.6.8 (Apple menu Software update).
If that doesn't do it, try a different brand CD-R. -
How do you fix a msvcr80.dll error when trying to install itunes 11.1.4
How do you fix a msvcr80.dll error when trying to install itunes 11.1.4?
This also work100%
Removing and reinstalling iTunes and other software components
If applicable, disconnect any iPod or iOS device and close Microsoft Outlook.
Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later).
Remove all of these items in the following order:
iTunes
Apple Software Update
Apple Mobile Device Support (see note 1 below)
iCloud (if present)
MobileMe (if present) (see note 2 below)
Bonjour
Apple Application Support
Reboot your computer. Delete any of the following folders where they can be found: (see note 3 below)
C:\Program Files\Bonjour
C:\Program Files\Common Files\Apple
C:\Program Files\iPod
C:\Program Files\iTunes
also on 64-bit systems:
C:\Program Files (x86)\Bonjour
C:\Program Files (x86)\Common Files\Apple
C:\Program Files (x86)\iPod
C:\Program Files (x86)\iTunes
Download the iTunes setup file and run it to install. Use an account with administrative rights. This can usually be achieved by right-clicking on the downloaded file and selecting Run as... or Run as Administrator. In some cases a combination of Shift or Ctrl keys may be required for the option to show, or it may not be necessary.
If you deleted iCloud and reinstalling iTunes doesn't automatically reinstall it visit iCloud Control Panel. -
TS1538 how do i fix a code 10 error message
I keep on getting a code 10 error. Also when I plug my ihone into my computer I get install unsuccessful. How do I fix this driver problem
iPhone error codes are not always very specific, but Error 10 can be issued when the iOS Firmware on your computer that iTunes uses to Restore your iPhone is faulty. I would delete the Firmware from your computer and let iTunes download a good Firmware file. If you would like, the Firmware can even be downloaded by you directly from Apple to your computer.
-
when ever i try to update my ipod 4g i get the 3194 error how do i fix and network settings error?when ever i try to update my ipod 4g i get the 3194 error how do i fix and network settings error?
mine did the same thing but i got the error 9 and dont know what to do
-
TS4062 How do I fix a -50 system error trying to synch my Ipod touch to Itunes
How do I fix a -50 system error? I am trying to sysync my Ipod To Itunes.
Hi MizFrustrated,
Thanks for visiting Apple Support Communities.
You may find the steps in this article helpful with troubleshooting an "error -50" during sync, as seen in the post below:
Resolve iOS update and restore errors in iTunes
http://support.apple.com/kb/ts1275
My iPod won't sync, iTunes displays a message saying "an unknown error occurred (-50)."
https://discussions.apple.com/thread/3113764
If the error message persists, and you are syncing with USB, try these steps next:
iOS: Troubleshooting USB-related alerts when syncing
http://support.apple.com/kb/TS5254
Best Regards,
Jeremy -
how can I fix "1801 microcode update error" I have a hp compaq dc5700. I upgraded my processor to "core2Duo 2.6MHz, e4700"
Hi MOndo7299:
Thank you for your post. I am glad to help!
I assume that the P in the your post is for Processor. The "1801Mocrocode update error" is telling you to update the CPU. There is more then one way to do this. You can do this by downloading and running the HP Support Assistant. click here, to aid in updating drivers and resolving issues. You can update from Device Manager. Open Device Manager, right click on the processor and you should see an option to update. You could also check the manufacturer's site for any updates. For your convenience I am sending documentation on "Downloading or Updating Software and Drivers for HP Computers" click here. If you require further assistance would you please provide your exact model number, and what changes you have made. How Do I Find My Model Number or Product Number? click here.
Sparkles1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping! -
i got my i phone4s few days back and i created an apple id with a credit card and when i go to the appstore to purchase apps,all have and message stating that "this app is no longer available"..how do i fix this issue?im from singapore by the way
If it is longer available then you can't get the app on your phone.
-
How do I fix my mac book Pro from running slow?
How do I fix my mac book Pro from running slow?
Why is my computer slow?
Step by Step to fix your Mac -
How do i fix my nano (6th gen) from automatical turning the volume down by itself
how do i fix my nano (6th gen) from automatical turning the volume down by itself? I bought my first nano (6th gen) and it started to happen. so, i just bought a new one because i'm unavailable to take it to an apple store. now, the second one is doing the same thing. i've reset them through itunes, and it continues to happen. any suggestions?
Did you check your volume limit settings?
copied from page 24 of the iPod_nano_6thgen_User_Guide -
In Preview, when I add text annotations to my PDF (lecture note slides), they look fine until I close it and reopen it, and then they are rotated 90 degrees. How do I fix this and keep it from happening again?
I have the same problem with lectures slides.
Furthermore, sometimes the text box, when doube-clicking, turns the text into a one-liner. Causing the text box to sometimes get 3. times wider than the pdf itself.
tcrother wrote:
... then when it rotates the text isn't visible and I'm stuck clicking on random parts of my lecture slides hoping the text box will come back. ...
By pressing [cmd + I] the Inspector opens up and clicking on the rightmost tab 'Annotations' you should be able find those Annotations again. I do this regularly to find the empty annotations I accidentally create while clicking through slides. -
How do I fix out of order tracks from imported CD's?
How do I fix out-of-order tracks from imported CD's?
If you don't have find my iPhone install it's not much you can do. You should change your passwords on those accounts and on your iTunes account as soon as possible.
Maybe you are looking for
-
Acrobat 9 Products with Windows XP Media Center 2005
Hello, I'm wondering if any users are running Acrobat 9 Standard or Pro on Windows XP Media Center 2005. I'm currently annotating pdfs for a client but was leery of purchasing Standard or Pro because Media Center is not mentioned under the System Req
-
How to setoff service tax with excise payable in a manufacturing company
hi A manufacturing company is collecting service tax from service vendor As it is a manufacturing company they wants to setoff the service tax with excise payable in T-Code J2iun please tell me how to configure it in the system.
-
Lost installation disk - Creative Suite 5.5 design premium
Hi there, I have lost my installation disk for Creative Suite 5.5 design premium. I have the product code & installation key. Can't seem to find a link to download the version of have anywhere on Adobe site. Help would be much appreciated. Thanks in
-
Cant load ip address with port number
I am trying to load my vps control panel at https://ipaddress:9999/ on firefox 4 mac and I cant open the page. Firefox wont respond at all when I hit enter. I can open it without issue in safari and chrome.
-
Firefox says I need to update my add ons and plug ins at startup after restarting my laptop
I'm running 10.0.2 and I get multiple tabs when i first start firefox saying i need to install updated add ons. i go thru each one and click add and then restart firefox and all is fine. later when i turn my laptop back on and then start firefox I ge