Discussion:
simple activex problem
(too old to reply)
kyle123
2008-08-05 09:40:06 UTC
Permalink
I am getting an error message when I try to use the activex software in Labview 8.5 to recieve data from an MTi inertial sensor. It is an Error - 2147467259, unspecified. All I am doing is opening the reference, reading data, and closing it but it does not seem to work. The error seems to occur at the close block but I do not get any data out as well. Any suggestions?


MotionTracker1.JPG:
Loading Image...
muks
2008-08-05 10:40:05 UTC
Permalink
<a href="http://digital.ni.com/public.nsf/allkb/65432272763546D986256BA30066FEDB" target="_blank">Here</a> is a work around
muks
2008-08-05 10:40:06 UTC
Permalink
Please check the example in <a href="http://digital.ni.com/public.nsf/allkb/EBA7E2E1653D1E0B86256C5A00505292" target="_blank">this</a> page
kyle123
2008-08-05 12:10:23 UTC
Permalink
I'm not quite sure I understand what you are saying. I&nbsp;have a property node immediately following the open reference block but it still gives an error.
muks
2008-08-05 12:40:06 UTC
Permalink
Did you check the example vi in that link?
kyle123
2008-08-05 13:10:06 UTC
Permalink
yeah, although I'm not sure if this applies to my vi. Should I delete the open and close reference blocks? are they needed?
corys
2008-08-05 13:40:07 UTC
Permalink
You shouldn't have to delete the open and close reference blocks (they should be required in this case, I believe). I had a look at the example and the picture you supplied. I believe you need something like the property node in the attached picture immediately following your open reference.<img src="Loading Image..."> Message Edited by corys on 08-05-2008 08:17 AM


BoardID.PNG:
http://forums.ni.com/attachments/ni/170/346692/1/BoardID.PNG
kyle123
2008-08-06 08:40:06 UTC
Permalink
ok so I tried putting a property node to get the ID but it gives me the same error. would this problem have something to do with the communication between the pc and sensor?
kyle123
2008-08-07 08:40:15 UTC
Permalink
I think I got it, I can read some data now. It was just an initialization problem with the sensor. Thanks for the help
muks
2008-08-07 09:10:11 UTC
Permalink
think I got it, I can read some data now. It was just an initialization problem with the sensor.
Even I thought i the problem might point to the sensor .As corys had suggested,It shld have solved the issue if it is with respect to Property node.
mikeporter
2008-08-08 04:10:04 UTC
Permalink
From the website of XSENS (the MTi's manufacturer): Specifically thier FAQs... <a name="1.3" target="_blank">1.3 Q: Where can I get sample source code and more
detailed information about the API (application program interface) of
the software development kit?</a> A: Please contact Xsens (<a href="mailto:***@xsens.com" target="_blank">***@xsens.com</a>)
and we will send you a copy of the Software Development Kit
Documentation, containing details on the MotionTracker object
interfaces, the MT Communication C++ class (sources included), example
source code (C/C++, Matlab, LabVIEW, Excel) including tested code for
Linux, etc.
Mike...
kyle123
2008-08-08 06:40:15 UTC
Permalink
thats perfect. thanks mike, appreciate the help
kyle

Continue reading on narkive:
Loading...