How to use the pid vis with a two-state output
Hello
Could someone tell me how to regulate the temperature of a room with
a two-state heater (on/off), using the pid vi's.
Thanks,
>> Could someone tell me how to regulate the temperature of a room
>> with a two-state heater (on/off), using the pid vi's.
In <[email protected]> [email protected] (Helmut Hullen) writes:
>You don't need the PID. A simple 2-state control does the work.
^^^^^^ ^^^^^^^ ^^^^^^^
Frankly, I tend to agree. However, if you _need_ PID control and _if_
your two-state heater is solid-state switched, there are other
options. For example, commerical PID temperature controllers with
zero-voltage switching (ZVS) operate by generating a slow enabling
pulse, then achieving proportional control by varying the duty cycle of
this enabling pulse. For instanance, if your enabling pulse is running
at 10-Hz, with 50% duty cycle,
then your heating element will be on for
50% of the time every 0.1 second.
You can use a programmable timer (National includes two on their MIO
cards) to program the 5 or 10 Hz output and its duty cycle. You might
have LabView execute the PID subVI once every two or three seconds to
adjust the duty cycle on the programmable timer so as to minimize the
feedback error=(tempSetPoint-currentTemp).
Why are you wanting to use LabView for PID temperature control in the
first place? There are some very good PID temperature controllers
(programmable through a serial port) with built-in solid-state ZVSs
and readouts for $900 that you can buy. They'll fit right into
a control panel, display and all. Sure beats messing with a
programmable timer card and its outputs, plus you get a digital panel
readout to boot.
/\ Mark M Mehl, alias Superticker (Supertickler to some)
<><> Internet: [email protected]
\/ Preferred UUCP: uunet!iastate.edu!mehl
Disclaimer: You got to be kidding; who would w
ant to claim anything I said?
Similar Messages
-
How to use the class CL_CTMENU with the method DISABLE_FUNCTIONS
Hi Friends,
How to de-activate some functions in the Menu bar?
Eg: - Sales document
Create
Change
Display
I want to de-activate "Change"
In other words: - How to use the class CL_CTMENU with the method DISABLE_FUNCTIONS in my program.
Regards,
Hari
Edited by: Bhatlapenumarthy Hari Krishna on Jun 9, 2008 5:22 PMKrishna,
It is not possible to deactivate the CHANGE option in themenu bar using the method disable_functions of cass CL_CTMENU. This method allows you to deactivate only the function codes of the CONTEXT MENU, which is available only when u press the left mouse button.
U can use the SET PF-STATUS 'XXX' EXCLUDING fcodes option to disable the CHANGE.
*****Reward points if useful
Regards,
Kiran Bobbala -
How do you use the bluetooth VIs with a Microsoft Bluetooth Driver?
How do you use the LabVIEW Bluetooth VIs with the Microsoft Bluetooth driver? I have been trying with no such luck.
I want to use 2 computers to talk to each other using the bluetooth VIs. Eventually, I think we would like a PDA/phone to talk to a custom built electronics board with Bluetooth. But for now, I would just like 2 computers to talk and then eventually talk to our own device.
One is a desktop w/ the Belkin F8T012 USB adapter. It installs fine with the Belkin driver (but I know I need to use the Microsoft Driver in order to use the LabVIEW VIs, but I have tried to get Windows to install its own but it says it is a BCM92045DG-Flash. It says it cannot install it because it cannot find the necessary hardware. I thought this USB adapter was on the approved Bluetooth devices list? What else should I try? Another Bluetooth USB adapter?
The other computer is a Dell Latitude 820. It has a built in Bluetooth module which I believe is the Dell 350 Bluetooth Module. On this machine I have been able to setup a COM port with a bluetooth device (blood glucose meter). It came with a serial port interface which we modifed to go through a bluetooth interface. It comes up as COM40. We have been able to communicate to it using their program originally designed to talk through a serial port. But we would like to use the Bluetooth VIs in LabVIEW. I can't even use the Discover VI. Perhaps it is not using the Microsoft Driver as well. Do I just uninstall the driver and then try to have Windows install its own driver? Do you have any other recommendations?
Thanks,
JaviHi Javi,
This sounds like an issue with Windows and your specific Bluetooth devices. As you mentioned, the LV Bluetooth VI's do require that the devices use the Windows drivers. Take a look at this link for specific requirements for using Bluetooth with LabVIEW. Also, you can take a look at our Developer Zone tutorial on designing Bluetooth applications a found here. Regarding your device drivers, sometimes it is as easy as uninstalling the driver and then letting Windows discover the device and fine its own driver. You could check out the Microsoft Knowledgebase for more information. Thanks and have a great day!
Stephen S.
National Instruments
1 Test is worth 1000 expert opinions -
How to use the Bloggie camera with Apple iMovie software.
Solved!
Go to Solution.Follow these steps to use the Bloggie® camera with the Apple® iMovie® program.
Power on the camera and connect directly to a USB port on the computer.
Once the camera is detected by your computer, the iMovie software should open automatically. If the iMovie software does not open automatically, go to the Applicationsfolder and open it from there.
In the iMovie window, choose Import from Camera...
Choose which clips you want to import and choose the Done button or choose the Import All...button to import all the clips.
NOTE: You can use the standard iMovie interface to edit and create movies from your video taken with the camera. For more information about how to use the iMovie program, refer to the Help menu in iMovie or visit http://www.apple.com/support/imovie. -
UIX/JSP - How to use the UIX Controller with UIX/JSP
After reading the UIX Developers Guide I am under the impression that I could use the UIX Controller with UIX/JSP pages. Is this correct and are there any available examples?
Bill G...It's correct, but I'm afraid we don't have much (read as "any")
documentation on how to do that - besides reading through the
gobs of Javadoc and guessing how to put it together.
Half of the problem is solved by registering JspPageDescriptions
on a PageBroker (e.g., UIXPageBroker) to tell the UIX Controller
to use a JSP to render a particular page, instead of a UIX XML
document.
The other half is getting the JSP to send requests back to
the UIX Controller. Depending on how you've chosen to name
your pages, create either a DefaultPageEncoder or ExtensionPageEncoder
inside your JSP, and use that to create destination URLs. -
How to use the crypto api with gemalto cyberflex 32k ?
Hello ,
I've done many javacard programs using this method :
_compilation with javacard kit 2.2.1
_convertion into ".cap" with the javacard kit 2.1.2
All this programs work fine with this method : helloworld, read, write in the card, ....
But when i want to use the crypto api, i can't charge the program in the card (just by adding 2 lines for generating keys):
----------> returns 0x80206A80 (6A80: Wrong data / Incorrect values i data.)
I think it's because i use the 2.1.2 version , but if i use the 2.2.1 to convert , it's another error and no program work with this method.....even helloworld doesn't work...
-----------> returns 0x80206985 (6985: Command not allowed - Conditions of use not satisfied.)
I thing i must change my gpshel command , but i have read many forums but can't find the configuration for my card cyberflex 32k, some people had similar problems so they used the kit 2.1.2 combined with 2.2.1 like me, but i think they can't use the crypto api with this.........
Any help will be apreciated,
kind regards
Franck
Edited by: jojo85 on Mar 20, 2009 11:03 AMHello,
Thanks Sonnyyu,
I deleted my gpshell 1.4.2 directory and i installed gpshell 1.4.0 instead like they said , to avoid some bugs
i've tested the exemple CardEdgeII.ijc ,
here's what i got:
mode_201
enable_trace
establish_context
card_connect -readerNumber 1
select -AID a0000000030000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f
delete -AID A0000003230101
delete -AID A00000032301
delete -AID A00000000101
delete -AID A000000001mode_201
enable_trace
establish_context
card_connect -readerNumber 1
select -AID a0000000030000
Command --> 00A4040007A0000000030000
Wrapped command --> 00A4040007A0000000030000
Response <-- 6F188407A0000000030000A50D9F6E060011020201009F6501FF9000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f
Command --> 8050000008674672AE4B85E01800
Wrapped command --> 8050000008674672AE4B85E01800
Response <-- 000081410002B2C600E4010151982BB4CF843B1431E57DB6418652AE9000
Command --> 848201001073CF9B92B3F11E10BE12D1318E9A8095
Wrapped command --> 848201001073CF9B92B3F11E10BE12D1318E9A8095
Response <-- 9000
delete -AID A0000003230101
Command --> 80E40000094F07A000000323010100
Wrapped command --> 84E40000114F07A000000323010149D51E784E07966B00
Response <-- 6A88
delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
delete -AID A00000032301
Command --> 80E40000084F06A0000003230100
Wrapped command --> 84E40000104F06A00000032301E3788AF4A9E32C2100
Response <-- 6A88
delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
delete -AID A00000000101
Command --> 80E40000084F06A0000000010100
Wrapped command --> 84E40000104F06A00000000101C3CC96E6E54AF0ED00
Response <-- 6A88
delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
delete -AID A000000001
Command --> 80E40000074F05A00000000100
Wrapped command --> 84E400000F4F05A000000001DA73D168B218692C00
Response <-- 6A88
delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
install -file CardEdgeII.ijc -nvDataLimit 12000 -instParam 00 -priv 2
install -file CardEdgeII.ijc -nvDataLimit 12000 -instParam 00 -priv 2
Command --> 80E602001705A00000000107A00000000300000006EF04C60231000000
Wrapped command --> 84E602001F05A00000000107A00000000300000006EF04C60231000019F52839EB52A80200
Response <-- 009000
Command --> 80E80000EFC48230F401000FDECAFFED010204000105A00000000102001F000F001F000A00290256006C2307000A04230000067F00060000000004010004002904000107A0000000620101010107A0000000620102010107A0000000620201000107A000000062000103000A0106A0000000010119CE06006C00800313000C040400051856FFFF1BA41A2A17FB1818183718A61971008300020001011100001E4F1EC51F771F9A1FA71FAC1FB31FBC1FCD1FF41FFD20082043204B205520662071008300030001010D0000209520B520C520D52101211C21742196221F2230226F227D22E1072307000640188C00861803880010
Wrapped command --> 84E80000F7C48230F401000FDECAFFED010204000105A00000000102001F000F001F000A00290256006C2307000A04230000067F00060000000004010004002904000107A0000000620101010107A0000000620102010107A0000000620201000107A000000062000103000A0106A0000000010119CE06006C00800313000C040400051856FFFF1BA41A2A17FB1818183718A61971008300020001011100001E4F1EC51F771F9A1FA71FAC1FB31FBC1FCD1FF41FFD20082043204B205520662071008300030001010D0000209520B520C520D52101211C21742196221F2230226F227D22E1072307000640188C00861803880010C9DE1DD3FD6CD8CE
Response <-- 9000
Command --> 80E80001EF08900B7F001C7B001C03104D387B001C041075387B001C051073387B001C061063387B001C07106C387B001C081065387B001C10061030387B001C1007103038187B001C037B001C925B8C004D6108119CFF8D005318100891008087011810089100808702AD02038F00803D0610108C002037AD020324940000807B001C037B001C925B8B002A7A05361A0525321A062529071F62071F10086C08119C108D00531607610EAD021F24940000802804700CAD011F2494000080280415046708119C108D0053031A07258D002E2905198B003016056A081167008D00531605076D08119C0F8D00531A08252906160504
Wrapped command --> 84E80001F708900B7F001C7B001C03104D387B001C041075387B001C051073387B001C061063387B001C07106C387B001C081065387B001C10061030387B001C1007103038187B001C037B001C925B8C004D6108119CFF8D005318100891008087011810089100808702AD02038F00803D0610108C002037AD020324940000807B001C037B001C925B8B002A7A05361A0525321A062529071F62071F10086C08119C108D00531607610EAD021F24940000802804700CAD011F2494000080280415046708119C108D0053031A07258D002E2905198B003016056A081167008D00531605076D08119C0F8D00531A082529061605045F95980396338536
Response <-- 9000
°
°
°
there are again many lines and the response is always 9000
i'll try to find a converter to convert the .cap files of my crypto application into .ijc files
thanks,
kind regards
Franck
Edited by: jojo85 on Mar 21, 2009 2:48 PM -
How to use the same apple id on two different iphones with different sync?
Hi all,
I own an iPhone 4s for personal use. Soon my company is going to give me a business phone and I can choose to have another iPhone. I'd love it but I don't know if what I wanna do is possible.
Let's say I will have iPhone P (personal) and iPhone B (business) and Apple ID MyID.
At the moment on iPhone P with account MyID I have application App1, App2, ... App9, I have contacts Cont1, Cont2, ...Cont9, I have songs Song1, Song2, ... Song9. All these are synced on my personal PC via iTunes and stored in the iCloud.
When I'll get iPhone B I'd love to be able to use on it my Apple ID MyID and to sync it with my business PC (so NOT the same one I use for iPhone P).
The configuration I'd love to have would be the following.
iPhone P
- Applications: App1, App2, App3, App8, App9
- Contacts: Cont1, Cont2, ... Cont9
- Songs: Song1, Song2, ... Song9
iPhone B
- Applications: App4, App5,App6, App7, App8, App9, App10 etc.
- Contacts: Cont1, Cont2, Cont10, Cont11, ..., Cont20
- Songs: Song1, Song2, Song10, Song11, ... Song20
So will it be possible using the same Apple ID MyID on both iPhones to have this configuration? Some apps, contacts and songs in common and some differents?
If so, how should I configure the two iPhones and the two PCs?
Kind regards.If you use the same Apple ID for iCloud on each device, yes. However, you can use the same Apple ID for iTunes content on each device, but different Apple ID's for iCloud, iMessage, FaceTime, etc., on each device. That way, you can have whatever iTunes content you want on each phone, but keep all of the other data separate. You can create another Apple ID here:
https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/createAppleId?loca lang=en_US
Must be a verified email address. -
How to use the class CL_PT_EMPLOYEE with GET PERNR?
Hi,
I saw this sample code on the forum.
Is it more performant than using the "RP-PROVIDE-..." macros?
Does the employee instance needs to be killed after each pass? How does it affects memory?
start-of-selection.
GET pernr.
<b>* Create employee instance</b>
gif_employee = cl_pt_employee=>get_employee( pernr ).
go_employee ?= gif_employee.
<b>* Append all other required infotypes to itab</b>
APPEND '0003' TO gt_infotypes.
CALL METHOD go_employee->get_infotypes
EXPORTING
i_itlist = gt_infotypes
i_fromdate = id_fromdate " start date
i_todate = id_todate " end date
* I_FILTER =
i_noauthcheck = 'X'
IMPORTING
e_result = gt_infty_request
e_retcd = gd_retcd.I think it that way. You are trying to compare and analyse old (don't say bad) programming school with a new (OO one) approach. Although, I am OO enthusiast and in any case I will try to convice you that OO aproach is better than classical one, you should know what SE30 was designed for. If you want to stress on OO design, use the one you mentioned, otherwise stick what SAP recommmends (please note, that I am "middle" school pupil, so I tried to learn all courses with my own experience and feelings from OO).
IMHO, OO aproach is a way of thinking, not something we can messure in sec. and compare to old school teaching. Some of your report should be desinged in classical way, some should be pure OO. Which one you choose, is up to you, your conclusions, your percives of ABAP language. For me OO was not injected in ABAP enough, to affect developers or to convince them using it in any case w/o doubts you have.
Regards
Marcin -
How to use the JE database with other data types than byte arrays?
Hi! I searched the javadoc of Berkley DB JE, for a way to introduce entry (but I need also retrieve) data with other type than byte arrays, e.g. String, or anything else, as int may be, etc.
Still, I didn't find any such way, because the main (only?!) method to entry data into an open database - according what I found in javadoc - is:
"public OperationStatus put(Transaction txn, DatabaseEntry key, DatabaseEntry data) throws DatabaseException"
and both this and the corresponding method for retrieves, are based on the same DatabaseEntry type, which allow only entry data on byte[] support.
What if I need to use Strings or int, or even char? I must do a special conversion from these types, to byte[], to use the database?
Thank you!On the doc page (this is also in the download package),
http://download.oracle.com/docs/cd/E17277_02/html/index.html
see:
Getting Started Guide
Java Collections Tutorial
Direct Persistence Layer (DPL)
All of these describe how to use data types other than byte arrays.
--mark -
Don't know how to use the air print with my ipads.
i just bought an mg3222 printer and i don't know how to figure out how to use air print with my ipad and ipad minis. Can anybody help??? Thanks
Hello.
In order to use the printer with your iOS devices, please make sure that the units are all connected to the same WI-Fi router. Once this has been done you should be able to print.
The initial Wi-Fi setup of the MG3222 would have to be done from a compatible Windows or Mac OSX computer.
If additional assistance is needed, feel free to call us at 1-800-OKCANON.
Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well. -
How to use the Camileo H30 with Power Supply
Hello
First: excuse my english, im from germany ;)
I have a Camilio H30. its was boughted used. I only got the camcorder & the original battery.
no extras (like usb cable or original power supply)
what i want: i need to film over some hours. The Battery cant make it. so i wanna use it with a power supply but when i put it in (throughh the mini usb a connector) the camcorder goes to charing mode (no actions are possible) but i want to use it fully functionality when power supply is connected.
how do i handle it ??
i got a power supply with 5V an 2,25A , i think its enough... or not??
The Label on the bottum side from the camcorder tells me 5V 2A....
Thanks 4 helping me :D
greetzoh ok i thought this is possible because in the main manual at the part when the display icons being explaind they show a full, half-full, emtpy- battery and a power connector icon. they call it "gleichstrommodus" sorry i have only the german manual. in english it should be co-corent flow mode or ac power mode.
im looking for a way to make the cam work with power supply only. i dont want to charge or even use the battery because i film over few hours ago and for that i dont need it.
my old dv cam works when the battery was plugged out with ac adapter only. thats very nice for me.
whatever. if this is not possible i sell this cam and buy another one ;)
thanks for your help ! -
How to use the find Iphone app on two devices with the same itunes and apple id number?
I have two Iphones connected to the same apple id . I am unable to use the find my iphone app on both devices. It only works on one!! Please help! It is driving me crazy lol!!
The app should locate both phones if they are using the same iCloud account and the app is signed into the account. If they are using different account, sign out, then sign back in with the other account to track the other phone.
If one of them isn't showing and you're signed into the correct iCloud account, go to Settings>iCloud on the phone in question and turn Find My iPhone Off, then back On. -
How to use the sharing function with other pc on the Finder sidebar?
I discver my housemates' pc's names under "sharing" on the Finder sidebar. We all use the same wifi network at home. Neither they nor I have enabled anything so I'm just wondering what is that for and where am I able to control sharing options?
Also I can even access their iTunes libraries. How do these all work? Am I able to set any security options at all?On the doc page (this is also in the download package),
http://download.oracle.com/docs/cd/E17277_02/html/index.html
see:
Getting Started Guide
Java Collections Tutorial
Direct Persistence Layer (DPL)
All of these describe how to use data types other than byte arrays.
--mark -
How to use the same BSA with more than an operating unit ?
we have three operating units, sometimes a sales agreement is released from the three operating units, is there a way i can use the same sales agreemnet with the three operating units?
We had the same issue recently.
Users wanted same locator in the same org under different subinventories.
We suggested 2 solutions
1) Make the 1st locator segment=subinventory name (e.g. East.A.3.10, West.A.3.10)
2) Add a character to the first locator (e.g. EA.3.10, WA.3.10)
They picked up the 2nd option.
Hope this helps
Sandeep Gandhi
Omkar Technologies Inc.
Independent Techno-functional Consultant
513-325-9026 -
How to use the html:link with a arraylist
Hi everyone:
I want to display the data using struts html:link.
I query the database and place all the data to javabean,later place all the javabean to ArrayList.In Action,I use the "request.setAttribute("lovetable",articlelist) to set request to jsp page.
I want to pass a parameter "id" use the hyperlink so I can get the parameter when I click the hyperlink.
But how to use html:link to display it?
I use <html:link action="viewtopic.do" paramId="id" paramName="lovetable" paramProperty="id"/>,it can't work and Tomcat report error :
org.apache.jasper.JasperException: No getter method for property id of bean lovetable
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
The lovetable is a ArrayList and it don't have a getter or setter method.
How to use it pass parameter? :( ThksThank you.
I use the bean:define successful.And display all the data to jsp.My jsp code is:
<logic:iterate id="love" name="lovetable">
<bean:define id="idbean" name="love"/>
<tr bgcolor="<%=color%>">
<td><bean:write name="love" property="id"/></td>
<td><html:link forward="viewtopic" paramId="id" paramName="idbean" paramProperty="id"><bean:write name="love" property="title"/></html:link></td>
<td><bean:write name="love" property="name"/></td>
<td><bean:write name="love" property="time"/></td>
</tr>
</logic:iterate>
In Action : request.setAttribute("lovetable",articlelist)
ResutlSet rs=.............
List articlelist=new ArrayList();
while(rs.next()){
articlebean bean=new articlebean();
bean.setName(rs.getString("name"));
bean.setTitle(rs.getString("title"));
articlelist.add(bean);
The above code will work property.
The Tag "html:link" need bean to work other than arraylist so I iterate all the bean out.
The Tag "logic:iterate" need collection to work so I make Action return a List.
right?
Any idea? :)
Maybe you are looking for
-
I am not liking the new interface of the Apple TV iOS5, also unable to use few items, is there any way of restoring my previous version?
-
Imac hard drive making low humming type of noise?
I have an imac that is about a year old. I don't run a lot of stuff at one time usually. Internet, email. I do movie editing at times but not when this problem appears. My wife tells me I have sensitive ears so maybe I'm blowing this out of proportio
-
Need G4 Powerbook power supply replacement. Help?
I need a replacement for my G4 Powerbook power supply. My currrent one (over 2.5 years old) has a 'short' in it. Can anyone recommend where I can find either resonably priced: 1) A factory 'Apple' powersupply exatly like the one I have or 2) A '3rd p
-
Cannot export Exchange Infrustructure Technical System from SLD_production
Hi all, I recently got the XI production system installed, which came with its own SLD (from now on, SLDp). I want to syncronize this SLDp with the SLD in the development system (SLDd), notice that I have no consolidation system. So I exported every
-
Can you add a diagram - such as a radial or circle diagram?
Hi, I was wondering if you can add a radial or circle diagram in Keynote, like you can in Powerpoint? If it's not natively built-in is there a plug-in that supports a feature like this? Thanks, Brandon