Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid subckt definition name

Solved!
Go to solution
I downloaded the LM35 Example by Patrick from the NI forum. I simulated it and it works fine. A great example of a Temperature Sensor, by the way.
I saved the LM35 component to my database. Then I inserted it into my schematic.
When I try to simulate, I'm getting this error:
------ Checking SPICE netlist for TempCFan3 - 2010-01-18 13:10:12 ------
SPICE Netlist Error in schematic RefDes 'u1', element 'xu1':  Invalid subckt definition name 'sensor__2'
SPICE Netlist Error in schematic RefDes 'u1', element '<unknown>':  Due to errors, the subckt instance 'xu1' has been omitted from the simulation
======= SPICE Netlist check completed, 2 error(s), 0 warning(s) =======
I looked at the model info, but don't see any reference to 'sensor__2'.
Download All
0 Kudos
Message 1 of 5
(5,546 Views)
Solution
Accepted by topic author Speedyg8
Hi Speedy,

I think the problem is you've created a family name with a space in the name (TEMPERATURE SENSOR). If you rename the family to remove the space, then replace the component in your schematic, it should simulate correctly.

My best guess is you got the space in the family name by pasting "TEMPERATURE SENSOR" into the family name dialog. I've entered a couple of issues into our issue tracker so that we may fix this issue in a future release (D116840, and D116841). However, if you got the space in the name in some other way, please let me know so I can add that to the bug information.
Garret
Senior Software Developer
National Instruments
Circuit Design Community and Blog

If someone helped you, let them know. Mark as solved or give a kudo. 🙂
Message 2 of 5
(5,542 Views)
The issue was that the family name allowed spaces, which are then appended to the SPICE netlist. Because you saved the LM35 to the TEMPERATURE SENSORS family, it was interpreting the second part of the model name (ie. SENSORS_2) as a parameter it was trying to pass to the model. Hence the errors.

The fix is easy: simply move it to another family, and then replace the part from the new family. For example, you can move it TEMPERATURE_SENSORS, or anything else, so long as there are no spaces in the family name. 😉
Message Edited by NatashaB on 01-18-2010 02:17 PM

Natasha Baker
R&D Engineer
National Instruments

Join the NI Circuit Design Community
Follow Multisim on Twitter!
Message 3 of 5
(5,541 Views)
Beat you to a reply yet again Natasha. Smiley Happy
Garret
Senior Software Developer
National Instruments
Circuit Design Community and Blog

If someone helped you, let them know. Mark as solved or give a kudo. 🙂
0 Kudos
Message 4 of 5
(5,535 Views)

Hi Natasha,

 

I watched you video of creating a multisim component on youtube, and then I modified a buck converter in database and created a new one.

But after I put the other passive components around it and turn on the simulation switch, I got the following errors:

 

------ Checking SPICE netlist for Design2_Atacama - Wednesday, 15 May, 2013, 10:21:50 AM ------

SPICE Netlist Error in schematic RefDes 'u1', element 'xu1': Unexpected '8' found on subckt instance line - too many nodes or parameter value missing name.

SPICE Netlist Error in schematic RefDes 'u1', element '<unknown>': Due to errors, the subckt instance 'xu1' has been omitted from the simulation

======= SPICE Netlist check completed, 2 error(s), 0 warning(s) =======

 

I can't find model data on ON Semi website, so I used "Start model maker" but I am not sure whether it's correct.

However the pin mapping is confirmed right as I check it according to datasheet. Can you please take a look at it?

Thanks very much.

Cathy

0 Kudos
Message 5 of 5
(4,508 Views)