Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

trouble in component wizard

Hi,

 

I would like to create a component called MAX16823 as attached.

I have created this component yesterday, and it could work.

 

Since I would like to be familiar with the component creating process, I try to create another same MAX16823 with different name today.

However, each time Multisim said that "

 

SPICE Netlist Error in schematic RefDes, element 'csc16823' : Redefinition of subckt 'csc16823'. Second definition ignored.

SPICE Netlist Error in schematic RefDes, element 'da1' : Redefinition of subckt 'da1'. Second definition ignored.

SPICE Netlist Error in schematic RefDes, element 'dr16823' : Redefinition of subckt 'dr16823'. Second definition ignored.

"

 

I find that the properties of the two components created yesterday and today are identical.

I don't know why today's component does not work.

 

Thanks.

 

Best regards,

PP

 

0 Kudos
Message 1 of 3
(4,167 Views)

Hi PP,

 

The attached .cir file is a complete model and you need to include everything.  When you copied this model to Multisim, I suspect you only copied up to this line:

.ENDS MAX16823

 

When you pass the  MAX16823 end statement, you will see three additional models, CSC16823, DA1 and DR16823 and these models are called inside MAX16823 model. If you didn't include these models, the SPICE engine will complain.

 

To call another model, the line begins with "X".  Here is an example; this line is within the  MAX16823 model:

XDG2 GND LG1 DA1

 

What this line says is; call a subcircuit model name "DA1" and connect it to node GND and LG1.

 

Tien P.

National Instruments
0 Kudos
Message 2 of 3
(4,151 Views)

Hi Tien,

 

Thanks for your reply.

 

Previously, I selected "load from file", the errors occur.

Now, I copy the file and paste directly to "Model Data", the errors disappear.

However, it said that "SPICE Netlist Error in schematic RefDes 'u2', element 'xu2': Unable to interpret 'u2_open_cs1' ".

 

Thanks.

 

Best regards,

PP

0 Kudos
Message 3 of 3
(4,140 Views)