Products for USB Sensing and Control
It is currently Sat May 18, 2013 3:19 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Aug 01, 2011 4:21 pm 
Offline
Fresh meat

Joined: Mon Aug 01, 2011 4:17 pm
Posts: 2
I´m writing because I have a problem with my card activation Phidgets1047, I want to use it in MATLAB and Simulink, my problem is at the time of writing the serial number on my card and when I push apply MATLAB gives me an error in the flag and not allow me to continue with the simulation, the code of my card is 167696, attached my codes for request in the most attentive support, I´m using the card to read an absolute encoder.


Attachments:
File comment: These are my programs I´m using your examples.
Simulink.zip [90.19 KiB]
Downloaded 130 times
Top
 Profile Send private message  
 
PostPosted: Tue Aug 02, 2011 11:05 am 
Offline
Phidgetly

Joined: Tue Nov 16, 2010 4:27 pm
Posts: 45
Please note that the only Simulink example we have so far is for the PhidgetInterfaceKit. If you wish to use other Phidgets with Simulink, you will have to create an object of that particular type. Details on how to do this is written in the Getting Started Guide for Simulink.

Lastly, the reason why pressing "Apply" gives you an error message when entering a serial number could be because you are not loading the Phidget21 library.

From your modified PhidgetInterfaceKit.m, you have
if libisloaded('phidget21')
loadlibrary('phidget21', 'phidget21Matlab.h');
end

You should change this to:
if ~libisloaded('phidget21')
loadlibrary('phidget21', 'phidget21Matlab.h');
end


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group