Is it possible to make an interactive symbol?

I'm trying to make a relay for use in multisim, and I don't quite understand how the symbol editor works, but is it possible to make an interactive symbol, like a switch that opens/closes ?
I think I should be able to use spice data from a relay(modified) to get mine to work?
[CODE]
* !!!BEGIN-INTERACT
*  : Ion           0.0048   ;
*  : Ioff           0.0016 ;
*  0        constant  S_OFF
*  1        constant  S_ON
*  0.0      VARIABLE   r1Cur
*  .( Loading the relay 1B form ... ) cr
*  : PWR_OFF
*      S_OFF  ==>_*animation_state
*  : PWR_ON
*      S_ON   ==>_*animation_state
*  PWR_OFF
*  :BEGIN_PLOT
*     PWR_OFF
*  UT_DATA
*     GET_INSTANCE Vsource ::V V  i  ==>_*r1Cur
*      Ion    *r1Cur    f.<=   if
*         PWR_ON
*     else   Ioff *r1Cur  f.>=   if
*         PWR_OFF
*     endif endif
* : BEGIN_ANALYSIS UPDATE_SETTINGS;
* !!!END-INTERACT
.SUBCKT DPDT_RELAY C1 C2 NO1 COM1 NC1 NO2 COM2 NC2 PARAMS: RCOIL=500 LCOIL=0.048 RON=1m
RC C1 C3 RCOIL
LC C3 C4 LCOIL
XK4 C4 C5 COM2 NC2 RELAY (RON={RON} ROFF=1E12)
XK2 C5 C6 COM1 NC1 RELAY (RON={RON} ROFF=1E12)
XK3 C6 C7 NO2 COM2 RELAY (RON=1E12 ROFF={RON})
XK1 C7 C2 NO1 COM1 RELAY (RON=1E12 ROFF={RON})
.ENDS
.SUBCKT RELAY 1 2 3 4 PARAMS: RON=1m ROFF=1E12
V 1 2 0
W0 3 4 V NC_contact
.MODEL NC_contact ISWITCH (Ion=0.0048 Ioff=0.0016 Ron={RON} Roff={ROFF})
.ENDS[/CODE]

Thats precisely what I did, and made a symbol for it but it isn't working quite right so maybe the spice data is wrong.
I originally made a circuit using 2xSPDT NO and 2xSPDT NC relays to make a DPDT. I used that spice data and had someone help me cut it down into a single model.
This is what I ended up with.
*## Multisim Component U1 ##*
* !!!BEGIN-INTERACT
*  2.0 constant high
*  0.0 constant low
*  2   constant max_states
*  low VARIABLE volt
*  :MAP_KEYBOARD_INPUT ++++K1 1 ++++k1 -1 ;
*  : UPDATE_SETTINGS
*     *animation_state max_states  low  high  STATE  volt
*     GRADUAL_CHANGE_AT_RUN  
*  :KEYBOARD_INPUT locals| shift_state |
*     shift_state *animation_state max_states NEXT_STATE_WRAP
*                                             ==>_*animation_state
*     UPDATE_SETTINGS
*  :GRADUAL_CHANGE_AT_RUN locals| ref value |
*     value  SET_INSTANCE Vsource ::V  V2 dc
*  :BEGIN_PLOT
*     UPDATE_SETTINGS
*  : INIT_IMOUSE_OPTION
*    1 0 4 IMOUSE_SET
*  : GET_IMOUSE_SUBCOMPS ( -- [iIdxN ... iIdx1] )
*    1
*  : ON_SUBCOMP_IMOUSE_EVENT locals| eEventType nOptions iSubCompIdx |
*    eEventType 2 = if
*      -1
*      -1 KEYBOARD_INPUT
*    else
*      0
*    endif
*  ( Initialize the settings )
*   UPDATE_SETTINGS
*   INIT_IMOUSE_OPTION
*  :BEGIN_ANALYSIS
*    UPDATE_SETTINGS
* !!!END-INTERACT
.SUBCKT DPDT_Relay  COIL+ COIL- NO1 COM1 NC1 NO2 COM2 NC2 PARAMS: RCOIL=500 LCOIL=0.048 RON=1m
RC C1 C3 RCOIL
LC C3 C4 LCOIL
XK4 C4 C5 COM2 NC2 RELAY (RON={RON} ROFF=1E12)
XK2 C5 C6 COM1 NC1 RELAY (RON={RON} ROFF=1E12)
XK3 C6 C7 NO2 COM2 RELAY (RON=1E12 ROFF={RON})
XK1 C7 C2 NO1 COM1 RELAY (RON=1E12 ROFF={RON})
.ENDS
.SUBCKT RELAY 1 2 3 4 PARAMS: RON=1m ROFF=1E12
V 1 2 0
W0 3 4 V NC_contact
.MODEL NC_contact ISWITCH (Ion=0.0048 Ioff=0.0016 Ron={RON} Roff={ROFF})
.ENDS

Similar Messages

  • Is it Possible to Make a Flash Playable DVD for the iTouch

    Is it possible to make the same kind of "virtual" DVD player file in Encore for an iTouch audience that works like the Flash output in Encore?
    I am under the impression that the 3G iTouch can play flash files but if that is not correct then I guess my question is no applicable.  I just felt that some interactive linking would be possible since the iTouch is equipped with a WiFi connection to the internet.  Any thoughts or suggestions?
    Thanks!!

    John,
    You know that Encore has a FLV output that produced a flash file that
    behaves exactly as a DVD player with player controls.  This is why I felt
    that this was possible, the flash file is certainly not a DVD formatted
    file.

  • Is it possible to pass the Interactive Form on dynamic?

    Hi,
    Is it possible to pass the Interactive Form on dynamic?
    In webdynpro I am handling the header part that will be common for the entire input screen, based on the application name I want to call the different interactive forms. I have seen in template source there is no option to provide binding with context.
    Regards,
    Mahesh.Gattu

    Hi Mahesh,
    You can create different views with different PDF forms in their template source and dynamically navigate to the required view/ make the required view visible.
    say on your main view, create the header part with the necesaary UI elements and insert multiple view containers below it. Embed a pdf view in the respectve view containers.
    Create a context node UI_RENDER .. cardinality 1..1
    Create attributes pdf1_visible type wdui_visibility
    pdf2_visible and so on. Bind these to the visible property of the respective view container.
    based on the application name, set them to either visible or invisible.
    Hope this helps.
    Regards,
    Reema.

  • Possible to attach an Interactive pdf to DPS ? ( & Keep the interactivity alive )

    Hi,
    Is it possible to open an interactive pdf from an DPS app and keep the interactive alive
    ( buttons /textboxses /submit / send to email ) ?
    I know how to make an zip-folder and link to the document form a button ( HTMLResources/filename.pdf )
    But the pdf is flatten , and the document is useless for my purpose.
    It would be great if this worked, and Adobe DPS could be even more handy than it is to day
    I know it's also possible to import html to indesign, and I have tried to make a form in Dreamwaver.
    The form looks nice on the Ipad & the buttons/ text fields works. But when I press submit ( mailto url )  the email opens.. But no data follows.
    ( Might be something wrong with the form of course )
    If I could link to Adobe Reader ( where the document already exist ) from the DPS-app.. that could be an solution/ and the interactivity works in Reader..
    But I haven't found any way to do that.
    My wish for the DPS of the future is that it would be more like MUSE. More options/ menus and no coding
    If someone have any good ideas on this issue, please let me know.

    Hi, after my first post in this issue I have solved the problem my self.
    The answer is to use Dreamweaver.
    1. Create an form with all the information you need in Dreamweaver. Be aware of the pixel value of the form, should not be larger than the Ipad
    Import the HTML into Indesign (Object /import HTML )
    If the form is larger than the Ipad - You can resize the imported html "frame" and use scale to fit in the web content menu.
    But in this way you don't have 100 % control of what your doing.
    After you imported the code in Indesign, and used the settings you like in web Content ( Folio Overlays ) Upload the DPS article as usual.
    2. Another way is to create an HTML article, where you import a folder with all files the form consist of ( Pictures, CSS and the HTML form  )
    A lot more you can do in this way like dropdown menues, fading images ++ . But is a bit more complicated workflow. So go for nr. 1

  • Is it possible to make an alert message.

    Hi,
    Anyone knows if it Is possible to make an alert-message that pops up ( f.e as a little window) on a specific day to remember me of something I have to do that day?
    Would be handy.
    Is this possible with Tiger or is there a third party application that does the trick?
    Thanks in advance.

    Try a free widget called quikAlert
    http://www.apple.com/downloads/dashboard/business/qwikalert.html
    Regards
    TD

  • Is it possible to make a copy of the Leopard install DVD?

    Is it possible to make a copy of the Leopard install DVD? If so, is there a special way this has to be done? I just found out that we needed to use the Leopard install DVD to recover a complete backup from Time Machine after a recent hard drive failure. We have the family pack of Leopard, so I would like to keep the original at home and send a copy when my daughter goes off to college in case she needs to recover again. Her machine was originally a Tiger MacBook, so those install disks will not work. If it is not possible to copy the DVD, is there a way to create a bootable utility to do a time machine recovery?

    This half-solved my problem. I have had no problems creating a backup copy for my intel based computers, but non-intel based computers are problematic; a G5 powermac tower and a G4 Powerbook. Both with super drives for single density burning. Both have Leopard running, installed from an install disc purchased from Apple. However, neither will mount the copy, but intel based computers will. have burnt/burned with both toast 9 and Disc Utility. Discs won't mount and are "spit out" by the drive.
    Power Mac G5 OS X: 10.5.4
    Model Identifier: PowerMac7,3
    Processor Name: PowerPC G5 (3.0)
    Processor Speed: 2 GHz
    Number Of CPUs: 2
    L2 Cache (per CPU): 512 KB
    Memory: 1.5 GB
    Bus Speed: 1 GHz
    Boot ROM Version: 5.1.8f7
    Any thoughts?
    -Jim

  • I am trying to find out if I can change a setting of the calendar in my iPhone.   When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change? SS

    I am trying to find out if I can change a setting of the calendar in my iPhone. 
    When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change?

    Hello SMEvans32
    You can use iCloud to share the Calendar, that way she will always be up to date on that particular section of your work calendar. If you want to use iCloud, I would recommend backing up so you have a safe copy of your data.
    iCloud: Calendar sharing overview
    http://support.apple.com/kb/PH2689
    iCloud Setup
    http://www.apple.com/icloud/setup/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Top-Level Navigation Bar - Is it possible to make it 3 levels?

    Dear Portal Experts,
    Could someone please advise if it is possible to make the Top-Level Navigation Bar show more than 2 menu levels?  I looked at the document and it said we can only have 1 or 2 levels.  But I'm just wondering if there is any way around it.  Thanks.

    yes you are right .we can set only 1 0r 2 levels but good news is there is a workaround
    follow this blog
    Tag  Libraries: Creating a Hover Menu in SAP NetWeaver Portal
    reward points if helpful

  • Is it possible to make a type cast in TestStand?

    I've got the following problem.
    I use a receive function which waits for an undefined package. (struct package).
    The problem is i can't specify the module with the exaxt package.
    Generally in C i define a Pointer and create enough buffer for it. Is it the same in TestStand?
    Is it possible to make a type cast?
    for example:
    i've got these packages
    struct packet;
    struct  data;
    the function does not know which structure to receive.
    err = receive(buffer,maxlen);
    how do i specify the buffer variable?
    can i create a type "void" with a String to have enough buffer.
    and then to make a type cast, for example "Locals.dataobject = ((data)Locals.buffer)"
    any ideas?
    thx for help

    Unfortunately there is no way to do type-casts in TestStand. What you could do is write a wrapper-dll in C, that has for example two parameters for both possible structs. The dll then takes one of the parameters, does the typecast and passes it on to your original dll.
    From TestStand you can pass the struct(or better container in the "TestStand language") you want to use to the accoridng parameter of the wrapper-dll, leaving the other parameter empty or with some default-value.
    Hope this helps!
    André

  • Hi, can I move my iTunes library to an external hardrive without having to consolidate it as my prehistoric computer just doesn't have the space even though I have deleted everything possible to make room? Please help :(

    Hi, can I move my iTunes library to an external drive without having to consolidate it as my prehistoric computer just doesn't have enough space even though I have deleted everything possible to make room? Please help

    Hi, do you know if this works if I then want to move my library to a new computer as that is my main intention bacause my old computer hasn't got enough space for me to add new albums so I want to ditch the computer (its got to be about 100 years old and doesn't seem to cope well with modern technology!!) and start using my laptop for my iTunes. I am at the point now where i'm ready to throw both my computer and iPod out the window!!!! I might point out as well that in trying to clear space on my computer I accidently deleted the Bonjour programme which is aparently needed to use the home share option, oops!!!!
    Thanks, Kerry

  • Is it possible to make two type of partitions onto an external drive?

    Hi,
    I'm on an intel iMac using Tiger and I know to back up my hard drive I need to choose the GUID partition and Mac OS Extended (Journaled) in order to be able to boot from the partition.
    So if I make 4 partitions is it possible to make 3 partitions GUID Mac Extended (Journaled) and then make 1 that is Apple Partition Map? I tried it and I couldn't figure it out using my Tiger Install disk and selecting Disk Utility option.
    My sister is using a Powerbook PC G4 also using Tiger and I want to make a bootable copy for her as well but just wondering if this can be done?
    S.

    Niel,
    Thanks, so if I format it all as APM I can either clone OSX 10.4.11 which I have on my internal now. If I do a backup of my intel and Powerbook PC both of those will already have Tiger on them so do I need to do another Tiger install on each of those partitions?
    Also by doing it this way I can't boot from a parition onto my intel can I?
    Guess I'll have to weigh whose system is more important or just back up her drive as GUID on my computer and she can restore from it if she has too but won't be able to boot from it.
    S.

  • Is it possible to make a partition in Windows 7 and then place OS X on that partition?

    My employer just gave me a new MBP 13" with Windows 7 on it.  It has bootcamp running, but no option to boot in Mac OS.  IT dept. said they deleted Mac OSX Lion due to security concerns (?).  In any case, as I travel quite a bit and have and ipad and iphone, I would like to use Mac OSX for personal use and Windows 7 for work.
    Is it possible to make a partition in Windows 7 and then place Mac OSX Lion on the partition so that I do not need to reinstall Windows?   I know it would be possible to wipe the HDD and then add Mac OS, then bootcamp, then Windows 7, but adding again would get my IT dept involved which would put me back to square one.
    Any help would be appreciated!!
    JF

    Ok let me ask you IF the IT department of your workplace does NOT want OS X installed on "THEIR" (The Companies) computers because of what they think is some type of security issue why are you trying to go against their wishes and install OS X on a computer that is NOT owned by you.
    That could cost you your job.
    If you continue down this path you will screw up the Windows install and have to take the system back to the IT department to get it fixed. What do you think they will say at that point?
    Do as you like but you would be better off just buying your own Mac computer if you are set on using OS X as your personal operating system.

  • Is it possible to make an album, with seperate, and different artwork for each track? Thanks.

    Got a few tracks and I was wondering if its possible to make like an album, but each track different art?  

    You can give each track its own artwork. iTunes will normally display the artwork of track 1 in album listings. The individual track art will show in the small window at the top of the screen when playing, or the artwork panel of the mini player, or the now playing window on a device. Try it and see.
    tt2

  • Is it possible to make an iCloud account used by everyone in my school?

    In my school we have iPads. Would it be possible to make an iCloud account used by everyone for contacts and calendars?

    You do not give everyone the username and password of that account.  This would be a violation of iCloud terms and conditions.
    I've done what you want done with a calendar.  You use the iCloud account yourself, then use the 'broadcast' facility to produce a subscription URL that everyone can put into their calendar software.  If you make the calendar public anyone can subscribe.  They don't even have to know the account name let alone the password.
    Log into the account on www.icloud.com and test it out.
    Once you have that working you might try the same thing with a contact list.  I see no reason it shouldn't work.

  • Is it possible to make an OSB Proxy service offline/online based on BS

    JMS QUEUE
    |
    |_____ Proxy Service <-------->Business Service <---------> External System URL
    I have a configuration as shown above.
    There is a way to make the Business Service offline/online based on the External system URL being offline/online by setting the
    Business service-> Operational Settings->Offline Endpoint URIs with a timesatmp.
    Is it possible to make the state of the proxy service to enabled/disabled based on this state of BS based on external enpoint URI?
    This is a requirement such that the messages in the JMS queue doesnot get lost or consumed when the external system is offline.
    Thanks in Advance!

    I have thought about this. There are some problems here....
    I cannot use the same proxy to invoke the java callout and then based on the code or handler disable it, since
    1) i would have no way to enable back the proxy again.
    2) Also there is some amount of message loss.
    So i will have to use another proxy to do the same, but in this case
    1) what would be the trigger to this proxy?
    2) And how often do i invoke the java callout to see if the URI is up or not? (wouldnt that affect the performance?)
    I am just wondering why did they give an offline URI option in the business service and no similar option in the proxy service, Any Idea?
    Thanks

Maybe you are looking for