I can not get LabVIEW to respond to a VB6 ActiveX event
I am working with a VB6 ActiveX dll (VBtablet.dll is a wrapper for Wintab32 for a tablet interface) using LV8.2.1 and can not get it to respond to an event. I have opend the object and registered it for callback, but have had no luck in having an event generated. Is there anyway to see these events generated or at least that it has been registered? The dll has no problem working in a VB app or in Excel using a VB macro. Is there anything special that has to be in the ActiveX object to get LabVIEW to respond to it?
When I register the callback I use a control reference of the data being returned as my "user data" and in the callback VI I wire the event data into the "Value" of the control reference. I believe this is all I have to do. Any ideas would be helpfull.
Thanks,
Paul
cueball wrote:
I am able to see that events are generated from the dll, but somewhere between the ActiveX object and LabVIEW it is disconnected. Is it possible that LabVIEW is excepting these events and not allowing then into the code. The path as I see it is
dll -> WinAPI -> ActiveX -> LabVIEW
One thing this dll requires is a windows handle and I am wondering if LabVIEW itself is reads the events directly instead of ignoring them. The reason I bring it up is that the tablet works like a mouse and I am wondering if it is absorbing these commands directly and not allowing them to be passed through the ActiveX object. Like this
dll-> WinAPI -> LabVIEW
therefore the event is never generated. That is why I wish I could speak with someone at NI that could explain that process better, but it seems like there is no one at NI who knows any high level issues.
First this are not high level issues but lowest low level issues. Some of it certainly is more Windows related than LabVIEW so support from MS, as unlikely it is to get that, would be at its place. NI people are not there nor can't really help you debug your VB issues.
Second you say it is a tablet and works like a mouse, then I'm wondering if Windows is not simply claiming it as a Human Interface Device itself and not really letting you control it yourself in your VB control.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions
Similar Messages
-
Can not get the mouse to respond on new imac
Can not get the mouse to respond on new imac
The very first time you turn on a brand new iMac you should see an animated picture on the display of the mouse's power button, followed by the trackpad's power button, which repeats until you switch on one or the other. If you're not seeing that then call AppleCare and explain what's going on: 1-800-SOS-APPL in the US.
Be patient since you will first get the automated voice-recognizing assistant (it's acutally pretty good) they you will be on hold for what seems to be an eternity, then a humanoid is going to ask your name, phone number etc. then they're going to tell you to plug in the iMac as if you're a dope.
Eventually they'll realize you really know what you're doing and help you actually fix it.
You should not have to be inconvenienced with a USB mouse although that would be the quickest way to solve this problem. -
The screen is black . i can.t get it to respond.Power + home soft reset didnt work. Itunes could detect any sync apps. I used my home phone to call my iphone and on my home phone i can hear the calling tone.But my iphone didn't ring/screen did not light up. Its a iphone 4. Any ideas how to fix this?
If the basics (restart, reset, restore from backup, restore as new) don't work, you'll need to bring the phone to Apple for evaluation
-
My printer is on line i just can not get it working on my laptop
my printer is on line i just can not get it working on my laptop
Hi @murphyett ,
Thank you for visiting the HP Support Forums and Welcome. I have read about your HP Printer and not working Wirelessly. Here is a link to the HP Print and Scan Doctor. The HP Print and Scan Doctor will run a check on your system.
What is the model of printer? I would be happy to assist if needed as there are many models of HP Printers I would need the model number. How Do I Find My Model Number or Product Number?
Please respond with which Operating System you are running:
Which Windows Operating System am I running?
Please let me know.
Thanks.
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 to say “Thanks” for helping! -
Can not get a specific website to load in either Safari or Firefox?
Can not get a specific website to load in either Safari or Firefox on my MacBook Pro. Website loads on other devices such as iPhone, PC, etc. I've tried emptying the Cache in Safari. Any other suggestions?
The problem I am having is that this website will not load on my MacBook Pro. I don't know if it has something to do with the fact that the website was created on this computer using iWeb and then I had to change to a different webhost on July 1st (Dreamhost) when Apple discontinued Mobile Me / Webhosting as of July 1st. That is when I was no longer able to load the site on this one computer.
I get this message with Safari:
Safari can’t open the page “http://www.challengefitnesscrossfit.com/” because the server where this page is located isn’t responding.
and this message from Firefox:
The connection has timed out
The server at www.challengefitnesscrossfit.com is taking too long to respond. -
The message 'Can not get mail, The mail server is not responding. Verify that you have entered the correct account info in Mail Settings' appears. I know that the info is correct because I have received email previously but not today. I use my iphone as a personal hotpsot for my MacBook and iPad 3 and am receiving mail on the MacBook but not the iPad. I know that I'm in an area that has a weak signal and regularly have to reset for the hotspot but today it seems that it's more than the weak signal. Any suggestions, is there a simple explanation? Do I have to reset anything? I've done the old forced reboot thing.
Hi there Donnanorm327,
You may find the troubleshooting steps in the article below helpful.
iOS: Troubleshooting Mail
http://support.apple.com/kb/ts3899
-Griff W. -
I can not get songs that i have down loaded to itunes on my windows 7 computer sync to my iphone no trouble when i use windows xp my older laptop
It depends on what version of iTunes and ios you are using. Usually when one is newer is a newer version of the software it isn't that compatible.
-
Why the 2LIS_08TRTK extractor can not get all data
Hello, BW Gurus.
Why the 2LIS_08TRTK and 2LIS_08TRTLP extractors can not get all data. I had used the RSA3 and get 10 registers, when a check at the VTTK table I had 20 registers, I didnt use filters at RSA3, could you help to know what happen o correct it.Is it because
<i>
Shipment documents and their dependent objects (shipment stages as well as shipment items [deliveries in the shipment]) are only extracted into BW when the Shipment completion status has been set.
This is necessary because the numeric values that result from the delivery documents are only established at the time. If the data were already stored earlier in BW, the shipment data would not be updated if the delivery notes were changed in BW.
</i>
- from oss note 573470. -
Can not get data from database
hi all,
there is a problem , when i write like below :
SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
WHERE bukrs = p_bukrs
AND hkont = p_hkont.
p_bukrs , p_hkont are all on the selection screen , and p_bukrs = 1200 another is eq blank. i can not find any data , but with the same condition i can find some data in database , when i debeg i found that p_hkont is initial.
when i write like this :
SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
WHERE bukrs = p_bukrs .
this time i can find the data like the database.
so , does someone know where the problem is , why i can not get data ?
kind regards
kevinhi,
if u r using bukrs and hkont as parameters in selection screen then
SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
WHERE bukrs = p_bukrs
AND hkont = p_hkont.
this will work.
if u r using then as select-option then the above does n't work.
bcoz select-options work as internal table bcoz of that u have use the query like this
SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
WHERE bukrs IN p_bukrs
AND hkont IN p_hkont.
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Edited by: Alvaro Tejada Galindo on Aug 15, 2008 5:25 PM -
"Can not get a key" error when assigning the OAuthTokenIssuer certificate
I am migrating from Lync Server 2010 to 2013. When deploying the 2013 server, it fails when assigning the OAuthTokenIssuer certificate. With the KeyException error below.
I've tried "re-keying" the cert and confirmed that the key is exportable. Does anyone have any insight on how to resolve this?
=============
<?xml version="1.0" encoding="UTF-8"?>
-<CsMgmtLog Name="Set-CSCertificate">
<Info Time="2014-04-21 19:00:53Z" Title="Connection">Data Source=servername.domain.com;Initial Catalog=xds;Integrated Security=True</Info>
-<Action Name="Set Certificate" Time="2014-04-21 19:00:53Z">
-<Exception Time="2014-04-21 19:00:54Z" Message="Can not get a key." Type="KeyException">
<StackTrace Time="2014-04-21 19:00:54Z"> at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.GetCurrentKeyAndUpdate(KeyPolicy& keyPolicy) at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.Protect(MemoryStream plaintext) at Microsoft.Rtc.Management.Internal.KeyManagement.GroupKeyWrapper.Encode(Byte[]
inBytes) at Microsoft.Rtc.Management.Deployment.Core.Certificate.SetCMSCertificate(IScopeAnchor scope, X509Certificate2 foundCert, X509Certificate2Collection certs, Nullable`1 effectiveTime, Boolean isRoll) at Microsoft.Rtc.Management.Deployment.Core.Certificate.SetCMSCertificate(IScopeAnchor
scope, String thumbprint, Nullable`1 effectiveTime, Boolean isRoll) at Microsoft.Rtc.Management.Deployment.Tasks.SetCertificateTask.Action() at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action)</StackTrace>
</Exception>
<Complete Time="2014-04-21 19:00:54Z"/>
</Action>
<Error Time="2014-04-21 19:00:54Z" Title="Error">An error occurred: "Microsoft.Incubation.Crypto.GroupKeys.KeyException" "Can not get a key."</Error>
</CsMgmtLog>
=============
Regards,
YaiPlease try to assign the certificate with Lync Server Management Shell.
Run the following command:
Set-CSCertificate -Identity Global -Type OAuthTokenIssuer –Thumbprint <string>.
Check if you can assign default certificate to Lync Front End Server.
Check the Root Certificate Authority certificate is not expired.
Lisa Zheng
TechNet Community Support -
Can not get out of screensaver
Hello,
I have a Lenovo R500 with Windows 7. When i leave my computer on for a while without using it gets into a screensaver state where i can not get out of, only by restarting abruptly the computer and so all open programs that are still running. How can i solve this?
Thanks!
JohanHi Johan1974,
Here are a few more details:
Open Device Manager by clicking the Start button Picture of the Start button, clicking Control Panel, clicking System and Maintenance, and then clicking Device Manager. Administrator permission required If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
In the list of device categories, expand Mice and other pointing devices.
Right-click the entry for your mouse, and then click Properties.
In the Mouse Properties dialog box, click the Power Management tab, check the Allow this device to wake the computer check box, and then click OK.
There are some screenshots here although the instructions are to remove the check because it is advising how to disable it. You will be doing the opposite.:
Sleep Mode
ThinkPad: T530 / X1 Gen 2 / Helix - Yoga: Tablet 2 Pro (Win) / Yoga 3 Pro
If you find a post helpful and it answers your question, please click the "Accept As Solution" button.
Lenovo Advocate ~ I am not employed by Lenovo or Microsoft. I am a volunteer.
Microsoft MVP - Consumer Security
SpywareHammer -
Can not get the Cisco TSP to show UP - 2003 64bit
Can not get the Cisco TSP to show up on the list of Providers in Phone and Modem Options- Advance tab. Installed ver. 4.1, it seems to install correctly, with no errors but when I restart the server, there is no Cisco TSP001.tsp in the providers list. It works perfectly on my Windows 2003 servers, but will not work on this new Windows 2003 64 bit server. Any tricks to getting this to load?
Thanks
KeithHi
There is no 64-bit TSP yet. Whilst 32-bit apps will work OK for the most part on 64-bit via the WoW function, drivers tend to not be so flexible, and that's what TSP is...
You'll have to bother your Cisco accounts folks to get this prioritised, it is upsetting a lot of people...
Aaron
Please rate helpful posts... -
Can not get Garage Band on my ipone 5c for free
can not get Garage Band on my iphone 5c for free
Hello anime26,
Check out the article below to walk you through getting GarageBand for free. One thing to remember is that in order to get it, you would need to have purchased your iPhone after September 1st.
Free Apple apps for your iPhone, iPad, and iPod touch with iOS 8
http://support.apple.com/kb/HT5913
Regards,
-Norm G. -
Can not get mail and messages from old phone to my new phone
can not get my mail and text messages transferred from my old Verizon Droid x2 to my LG Optimus what's the process
lock321, Let's get your information transferred! Text messages do not transfer from device to device unless you have backed the text messages up with an application on your Droid X2. Do you recall backing your text messages up using our Verizon Cloud http://vz.to/1BkRU5Tor another 3rd party app? Emails usually transfer over once you add your email account information into the LG Optimus. http://vz.to/1BkRYCK
TanishaS1_VZW
Follow us on Twitter @VZWSupport -
Can not get my Sungale Tablet to connect to wifi.
Can not get my Sungale Tablet to connect to wifi.
You need to get your wireless settings first. Get the SSID (wireless network name) and security key (password) for your network. Are you using a Linksys router? Follow these instructions to retrieve your wireless network's info: Checking the Linksys router’s wireless settings. Then on your tablet, go to Wifi under Settings. Select your network and type in the password. If your tablet is an Android, here's how: Connecting your Android™ tablet to your wireless network.
Maybe you are looking for
-
i have problem in typing messages, im slow because the words is keep on changing so maybe the dictionary in my iphone is on, I cant find the option where i can turn off. please help me. thank you so much.
-
Please help me, I purchased the Zen Xtra last Wednesday, and was wondering if there is software which will enable me to take my music folders from my pc which contains sub-folders and copy the folders and paste them to my Zen Xtra where they would be
-
MAC OSX 10.5.8 and 2TB Time Machine would not back up. Saw discussion that suggested you change name without apostrophes etc. Went into Time Machine and did a manula backup without a name and it appears to be backing up now. Does this remove delete
-
Is there any way you can Make an object be "Parented" like to parent an object so that it moves with another object or bitmap?
-
Can someone give a quick yea or nay ? Can I create a table with calculated values and have a chart built on that table ? All I can see in the help so far is copy and paste. Ta